Re: simple boy start learn python

2019-01-05 Thread Abdulrasheed Ibrahim
Djangogirls tutorial will be very helpful. https://docs.djangoproject.com/en/2.1/intro/tutorial01/ On Sat, 5 Jan 2019, 9:51 pm omar ahmed, wrote: > Django documentation is very good > > بتاريخ ٢٠١٩/٠١/٠٥ ١٠:٤٦ م، كتب : > >> I know that you are exp in django, so I need you tell me the best way t

Login with email or phone not username

2019-01-05 Thread Achyut Pandey
Hello guys i want to allow user to register and login with their email or phone number instead of username . How can i do that i am extending user model with abstractuser. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from t

Re: simple boy start learn python

2019-01-05 Thread omar ahmed
Django documentation is very good بتاريخ ٢٠١٩/٠١/٠٥ ١٠:٤٦ م، كتب : > I know that you are exp in django, so I need you tell me the best way to > learn django is what ? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from t

simple boy start learn python

2019-01-05 Thread mw5301758
I know that you are exp in django, so I need you tell me the best way to learn django is what ? -- 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+uns

bulk_create method works wrong for mysql db

2019-01-05 Thread Mykola Fenyk
I wrote a small test application for the company's list of employees. I wrote the custom migration to create the initial data and got problem with *python manage.py migrate* Traceback (most recent call last): File "/home/mykola/.virtualenvs/employees/lib/python3.5/site-packages/django/db/back

Re: django use models from outside script

2019-01-05 Thread PASCUAL Eric
The simplest way to do this is implementing a custom admin command, which will be invoked then with : ./manage.py my_awesome_command It will take care for you of setting the Django environment (i.e. updating the Python path so that the apps are included in it, applying settings and making your

Re: quête de directives

2019-01-05 Thread PASCUAL Eric
Bonjour, pip install django et un petit tour dans la documentation de Django ne ferait pas de mal, car ce point est couvert ici : https://docs.djangoproject.com/en/2.1/intro/install/ Eric From: django-users@googlegroups.com on behalf of Moise Sacko Sent

django use models from outside script

2019-01-05 Thread Samuel Muiruri
I have an external script that I want to have access to django's models primarily because it's an external implementation of sockets which is simple I want to see if this is possible. This is the snippet of code I added below the settings.py file based on an answer on stackoverflow. #Allow

quête de directives

2019-01-05 Thread Moise Sacko
Bonjour à tous et toute. je voudrais avoir des directives pour l'installation de Django. Merci d'avance -- 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-u

Combine an otree django project with oscar django project and pass data around?

2019-01-05 Thread Alexander Rogowski
I have an oTree survey and I am working on an oscar shop. Now I want to combine them. I first start the otree project (locally, otree devserver on port 8000). After the questions, I start a subprocess to call another server (py manage.py runserver, port 8080) and open another browser tab. Bas