Re: App Dev wanted

2020-04-29 Thread Ganesh Babu
Hi , I am ready to help you to the project. On Wed, Apr 29, 2020 at 10:58 PM Shourya kesari wrote: > Hi, >I too can help you with the project. > > On Wed, 29 Apr, 2020, 9:27 pm 'Amitesh Sahay' via Django users, < > django-users@googlegroups.com> wrote: > >> Hey Arne, >> >> I have 4

Re: Django Channel Demo Error From its site

2020-04-29 Thread mohamed khaled
I have an idea try to download small project from github using channels and test it and see if works or not and tell me On Wednesday, 29 April 2020 16:09:12 UTC+2, Aditya Bohra wrote: > > I am trying to start with channels but the demo in python shell is not > working properly: >

filebrowser-no-grappelli error

2020-04-29 Thread Mike Dewhirst
Can anyone please suggest a line of enquiry to track this down? One urls.py works in dev (no include() ) but not in production and the other vice versa. TTBOMK everything else is the same. Python 3.6, Django 2.2 but Ubuntu 18.04 in production versus Windows 10 dev. If the OS is the problem

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread hend hend
*Не нужно нигде в классе формы обращаться к 'self.user'. * среда, 29 апреля 2020 г., 19:49:45 UTC+3 пользователь Sergei Sokov написал: > > без self такая ошибка > > 'OrderForm' object has no attribute 'user' > > > среда, 29 апреля 2020 г., 17:56:10 UTC+2 пользователь hend hend написал: >> >>

Django signal to perform update on field when updating m2m field's object.

2020-04-29 Thread surya bhusal
https://stackoverflow.com/questions/61503270/how-to-update-model-field-using-django-signals-when-updating-object-in-m2m-field -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send

Re: App Dev wanted

2020-04-29 Thread Shourya kesari
Hi, I too can help you with the project. On Wed, 29 Apr, 2020, 9:27 pm 'Amitesh Sahay' via Django users, < django-users@googlegroups.com> wrote: > Hey Arne, > > I have 4 years of web dev exp.. if you wish we can have a con call and get > around the work based on the requirements > > Amitesh >

Re: Django Channel Demo Error From its site

2020-04-29 Thread Aditya Bohra
To view the stacktrace is used faulthandlers so that segmentation fault can be removed I followed the tutorial on django channel site which has link: https://channels.readthedocs.io/en/latest/tutorial/part_2.html import channels.layers from asgiref.sync import async_to_sync print("running")

Re: Django Channel Demo Error From its site

2020-04-29 Thread Aditya Bohra
aioredis==1.3.1 asgi-redis==1.4.3 asgiref==3.2.0 async-timeout==3.0.1 attrs==19.3.0 autobahn==20.4.3 Automat==20.2.0 cachetools==4.0.0 certifi==2019.11.28 cffi==1.14.0 channels==2.4.0 channels-redis==2.4.2 chardet==3.0.4 constantly==15.1.0 cryptography==2.9.2 daphne==2.5.0 Django==2.2.6

Re: Django Channel Demo Error From its site

2020-04-29 Thread Aditya Bohra
This is output of pip freeze aioredis==1.3.1 asgi-redis==1.4.3 asgiref==3.2.0 async-timeout==3.0.1 attrs==19.3.0 autobahn==20.4.3 Automat==20.2.0 cachetools==4.0.0 certifi==2019.11.28 cffi==1.14.0 channels==2.4.0 channels-redis==2.4.2 chardet==3.0.4 constantly==15.1.0 cryptography==2.9.2

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread Sergei Sokov
без self такая ошибка 'OrderForm' object has no attribute 'user' среда, 29 апреля 2020 г., 17:56:10 UTC+2 пользователь hend hend написал: > > Если 'user' в классе не нужен, можно не вешать его на self. просто вместо > 'self.user' используем 'user': в этом случае 'user' просто локальная >

Re: App Dev wanted

2020-04-29 Thread 'Amitesh Sahay' via Django users
Hey Arne, I have 4 years of web dev exp.. if you wish we can have a con call and get around the work based on the requirements Amitesh Sent from Yahoo Mail on Android On Wed, 29 Apr 2020 at 20:52, tejasri mamidi wrote: I'm new django developer ,I wanna help you ...if need it ..email me

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread hend hend
Если 'user' в классе не нужен, можно не вешать его на self. просто вместо 'self.user' используем 'user': в этом случае 'user' просто локальная переменная метода init. def __init__(self, *args, **kwargs): # get 'user' param from kwargs user = kwargs.pop('user', None)

Re: App Dev wanted

2020-04-29 Thread John McClain
Arne, I am interested John On Wed, 29 Apr 2020 at 15:08, Arne Bollinger wrote: > Hey, > We came with a project out of a Covid-19 Hackathon that we could not > finish. Now we want to launch as fast as possible as long as people are > still in need of social contact. >

Re: App Dev wanted

2020-04-29 Thread tejasri mamidi
I'm new django developer ,I wanna help you ...if need it ..email me On Wed, Apr 29, 2020, 19:38 Arne Bollinger wrote: > Hey, > We came with a project out of a Covid-19 Hackathon that we could not > finish. Now we want to launch as fast as possible as long as people are > still in need of social

Re: The database backend does not accept 0 as a value for AutoField.

2020-04-29 Thread Mayur Bagul
Hello Guys, i have try to remove defaut attribute and again try to run migrations it didnt worked . then i removed all migration files from app and tried running makemigrations it succeed but when trying to migrate it , it giving me error like wont reflect changes in migrations. im also not

Re: App Dev wanted

2020-04-29 Thread Motaz Hejaze
Please let me know more details , thanks On Wed, 29 Apr 2020, 4:30 pm wanbao jin, wrote: > Due to the corona virus, I've been reduced my hours. So I have much time > to work on it. > > Kindly email me if you need a volunteer. > > Thanks > > On Wed, Apr 29, 2020 at 10:25 PM mohamed khaled < >

Re: App Dev wanted

2020-04-29 Thread wanbao jin
Due to the corona virus, I've been reduced my hours. So I have much time to work on it. Kindly email me if you need a volunteer. Thanks On Wed, Apr 29, 2020 at 10:25 PM mohamed khaled < mohamed.khaled33...@gmail.com> wrote: > I am django developer and I have collaborated two projects and I am

Re: App Dev wanted

2020-04-29 Thread mohamed khaled
I am django developer and I have collaborated two projects and I am working on third project is a little bit bigger than other this my github https://github.com/khaldon I will collaborate with you in your project what I have known On Wednesday, 29 April 2020 16:09:11 UTC+2, Arne Bollinger

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread Sergei Sokov
hend hend спасибо большое! Работает! Но! *Теперь у меня не получается управлять внешним видом полей* Я хочу переопределить класс в форме, но "user" из представления попадает в этот __init__ тоже def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs)

Re: Django Channel Demo Error From its site

2020-04-29 Thread mohamed khaled
did you add channels_redis ?? On Wednesday, 29 April 2020 16:09:12 UTC+2, Aditya Bohra wrote: > > I am trying to start with channels but the demo in python shell is not > working properly: > https://channels.readthedocs.io/en/latest/tutorial/part_2.html#enable-a-channel-layer > Its is showing

i18n: Miscellaneous as dropdown-menu

2020-04-29 Thread René Labounek
Dear django user, could you please help to the webpage newbie with BFU html skills? :-) I am building a multi-lingual webpage. I have read the documentation, have seen severel youtube videos and was able to setup the language change, including the "Misscellaneous

Django channel async_to_sync(channel_layer.send)('test_channel', {'type': 'hello'}) error

2020-04-29 Thread Aditya Bohra
In Python shell as per directed on django channel site https://channels.readthedocs.io/en/latest/tutorial/part_2.html#enable-a-channel-layer $ python3 manage.py shell>>> import channels.layers>>> channel_layer = channels.layers.get_channel_layer()>>> from asgiref.sync import async_to_sync>>>

Django Channels

2020-04-29 Thread Aditya Bohra
I followed the tutorial on django channel site which has link: https://channels.readthedocs.io/en/latest/tutorial/part_2.html import channels.layers from asgiref.sync import async_to_sync print("running") channel_layer = channels.layers.get_channel_layer()

Re: Foriegnkey problem while saving data

2020-04-29 Thread Aditya Bohra
Can you please send more detail like 1 models 2 Query you are using -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com.

google maps image not found in django

2020-04-29 Thread Sarthak Tiwari
[image: Untitled.png] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit

App Dev wanted

2020-04-29 Thread Arne Bollinger
Hey, We came with a project out of a Covid-19 Hackathon that we could not finish. Now we want to launch as fast as possible as long as people are still in need of social contact. https://devpost.com/software/corona-circles We want to develop an Open-Source Django App that creates Jitsi Meet

Django Channel Demo Error From its site

2020-04-29 Thread Aditya Bohra
I am trying to start with channels but the demo in python shell is not working properly:https://channels.readthedocs.io/en/latest/tutorial/part_2.html#enable-a-channel-layer Its is showing some thing like this : (InteractiveConsole) >>> import channels.layers >>> channel_layer =

Foriegnkey problem while saving data

2020-04-29 Thread Kushal Neupane
Problem while saving the data. Help me to solve this problem. Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread hend hend
вторник, 28 апреля 2020 г., 19:56:37 UTC+3 пользователь Sergei Sokov написал: > > forms.py > class OrderForm(forms.ModelForm): > class Meta: > model = Order > name_job = forms.ModelMultipleChoiceField(queryset=None) > def __init__(self, *args, **kwargs): >

Watch "Django : Table doesn't exist | Fake migrations | no such table" on YouTube

2020-04-29 Thread Anonymous Patel
https://youtu.be/dXlYIkXmbbw If you are facing such error here is video to solve this error. Errormania they are developing a open community, anyone can join their telegram group and ask for solutions and even can provide solutions to others programming errors Raj Patel -- You received this

Re: Sqlite3 error

2020-04-29 Thread Kasper Laudrup
Hi Chucks, On 28/04/2020 19.17, chucks ogwo wrote: I also tried to use pip to install sqlite3, it does not work too, I get a different error. (venv) C:\Users\Dell\PycharmProjects\interact_with_database>pip install sqlite3 Collecting sqlite3   Could not find a version that satisfies the

Re: Post user input to django python shell??

2020-04-29 Thread Michael Karikari
No not yet, Im still trying to figure out if there is a way for the request for input from the console can be surfaced to end-user. I executed the command from a view, but since this module thinks it's being used from a shell, that where it asks for the response On Sunday, April 26, 2020 at

Re: Question regarding Interactive Python shell response and django

2020-04-29 Thread Michael Karikari
I'm not sure if DRF will work for me. I guess I should rephrase my question: If I'm using an imported module from a Django view that requires responding to executing from the console, is there a where to surface that request through the web app to end-user can do the input? On Tuesday, April

Re: reg: NoReverseMatch at "login"

2020-04-29 Thread 'Amitesh Sahay' via Django users
Forget it, I figured out the issue. Solved it.. As said silly mistake... Sent from Yahoo Mail on Android On Wed, 29 Apr 2020 at 10:15, 'Amitesh Sahay' via Django users wrote: That didn't work. we need to redirect to a web page, and not a function. May be I am wrong. As I have said, it

Re: Attribute error:module 'django.db.models' has no attribute 'PhoneField'

2020-04-29 Thread Ajeet Kumar Gupt
Hi, Install pip install django-phone-field On Wed, Apr 29, 2020 at 11:57 AM yashwanth balanagu < balanaguyashwa...@gmail.com> wrote: > Attribute error:module 'django.db.models' has no attribute 'PhoneField' > > -- > You received this message because you are subscribed to the Google Groups >

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread Sergei Sokov
please could you see this https://ru.stackoverflow.com/questions/594743/forms-modelchoicefield-%d0%9a%d0%b0%d0%ba-%d0%bf%d0%be%d0%bb%d1%83%d1%87%d0%b8%d1%82%d1%8c-%d1%81-%d0%bf%d0%be%d0%bc%d0%be%d1%89%d1%8c%d1%8e-queryset-name-model-objects-filt how to write this "form =

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread Sergei Sokov
hend hend Не работает, но и ошибку не выдает. Что-то нужно передать в класс формы? It doesn't work. And it doesn't show an error ( class OrderNewBigPrintView(LoginRequiredMixin, CustomSuccessMessageMixin, CreateView): model = Order template_name = 'new_order_bp.html' form_class =

Attribute error:module 'django.db.models' has no attribute 'PhoneField'

2020-04-29 Thread yashwanth balanagu
Attribute error:module 'django.db.models' has no attribute 'PhoneField' -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Dropdown not working

2020-04-29 Thread Kushal Neupane
The dropdown is not working. Code: https://pastebin.com/VkyJQGjx -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread hend hend
>> class OrderNewBigPrintView(LoginRequiredMixin, CustomSuccessMessageMixin, >> CreateView): >> model = Order >> template_name = 'new_order_bp.html' >> form_class = OrderForm >> success_url = reverse_lazy('orders') >> success_msg = 'Ok' >> > # get_initial

Re: How to use ModelChoiceField? I whould like to filter the output from a field form.

2020-04-29 Thread Antje Kazimiers
no idea how you do this with a CreateView but with a simple view function you have a request object: https://docs.djangoproject.com/en/3.0/topics/http/views/#a-simple-view this thread is about passing a variable into from the view function to a form:

Re: Django framework with machine learning

2020-04-29 Thread yashwanth .k
Can you please post some shots of output. On Tue, Apr 28, 2020 at 12:01 AM Lansana Sangare wrote: > Good evening, > > I am a new developer in Django but I have the basic knowledge. > > I wanted to know if someone has experience with django and machine > learning. > > I have a script in python