Re: what best for ecommerce project

2018-05-06 Thread Ruhia gr
cool so you all are prefer me using django for ecommerce right On Sun, May 6, 2018 at 12:26 PM, Aditya Singh wrote: > Hi mate, > I have myself built a full stack ecommerce store using django and you need > nothing more than django because it is most powerful standalone. Infact > Django cms is bu

Re: what best for ecommerce project

2018-05-06 Thread Aditya Singh
Exactly mate! On Sun, May 6, 2018, 12:39 PM Ruhia gr wrote: > cool so you all are prefer me using django for ecommerce right > > On Sun, May 6, 2018 at 12:26 PM, Aditya Singh > wrote: > >> Hi mate, >> I have myself built a full stack ecommerce store using django and you >> need nothing more tha

Re: what best for ecommerce project

2018-05-06 Thread Ruhia gr
thank you so much for all of your support On Sun, May 6, 2018 at 12:42 PM, Aditya Singh wrote: > Exactly mate! > > On Sun, May 6, 2018, 12:39 PM Ruhia gr wrote: > >> cool so you all are prefer me using django for ecommerce right >> >> On Sun, May 6, 2018 at 12:26 PM, Aditya Singh < >> adityasin

Re: django makemigrations not working

2018-05-06 Thread Bernard Letourmy
Hello, If you've got "No changes detected" on makemigrations, it means it did it job already (in previous run probably) can you list and post the content of you migrations folders ? then if you have errors on makemigrations it would help helping you if you would post the actual error logs. Thos

Re: what best for ecommerce project

2018-05-06 Thread Digital Prasar
Hi Aditya Thanks for your contributions on forum . Can you share link of your e commerce project made on django. On Sun, May 6, 2018, 12:26 PM Aditya Singh wrote: > Hi mate, > I have myself built a full stack ecommerce store using django and you need > nothing more than django because it is mos

Re: what best for ecommerce project

2018-05-06 Thread Ruhia gr
yes please adithya share your ecommerce project here On Sun, May 6, 2018 at 12:53 PM, Digital Prasar wrote: > Hi Aditya > > Thanks for your contributions on forum . Can you share link of your e > commerce project made on django. > > On Sun, May 6, 2018, 12:26 PM Aditya Singh > wrote: > >> Hi ma

Re: what best for ecommerce project

2018-05-06 Thread Aditya Singh
Sorry mate that I created for one of clients and according to the agreement I cannot share the code and resources related to the project. Kind Regards, Aditya On Sun, May 6, 2018, 8:07 PM Ruhia gr wrote: > yes please adithya share your ecommerce project here > > On Sun, May 6, 2018 at 12:53 PM,

Username same as user id

2018-05-06 Thread lakshitha kumara
Hello guys Is there way to assign username same as user id if username passing empty value on registration form. is there way to do that. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivin

Re: unexpected JSONField behavior clarification - key value pairs initially loaded integers, then saved down as strings into the database

2018-05-06 Thread Peter of the Norse
This is actually part of the JSON specification . All of the keys must be strings. If you put in an int or float, it will automatically convert it, but that is something you have to watch out for since it can lead to data loss. >>> import json >>

[no subject]

2018-05-06 Thread Aayush Khandelwal
Having error import name patterns ,I even downloaded it but still getting error what to do to sort it out -- 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-

Re: Username same as user id

2018-05-06 Thread lakshitha kumara
hi anthony Thank you for reply on this site username field not required field for user but its set as required field on backend so i need assing user id as as username if username is empty for on registration submit. user can login with email phone and username Thanks On Sunday, May 6, 2

While going through django tutorial i found some errors when i tried to execute the python manage.py runserver.The error is attached below:

2018-05-06 Thread Avitab Ayan Sarmah
index.html: {% if latest_question_list %} {% for question in latest_question_list %} {{ question.question_text }} {% endfor %} {% else %} No polls are available. {% endif %} admin.py: from django.contrib import admin from . models import Question admin.site.register(Question)

Re: While going through django tutorial i found some errors when i tried to execute the python manage.py runserver.The error is attached below:

2018-05-06 Thread 'Anthony Flury' via Django users
It is ForeignKey (capital K). In your files you sent you missed the one file it was actually complaining about : On 06/05/18 18:09, Avitab Ayan Sarmah wrote: index.html: {% if latest_question_list %}     {% for question in latest_question_list %}     {{ question.question_text }}   {% endf

Re: Username same as user id

2018-05-06 Thread 'Anthony Flury' via Django users
I can't imagine having an application where username is optional ... On 06/05/18 17:48, lakshitha kumara wrote: hi anthony Thank you for reply on this site username field not required field for user  but its set as required field on backend so i need assing user id as as username if username

Re: Fixtures: core.serializers.sort_dependencies sorts models in the wrong order for FK constraints

2018-05-06 Thread Andrew Wrigley
Hi Mike, thanks for the reply. My understanding is --natural-X only works if `natural_key`, `get_by_natural_key` are manually implemented on the models. I think the process should work without doing that, but I'm not sure why django orders the models in such a way that they can't be deserialise

Re: Fixtures: core.serializers.sort_dependencies sorts models in the wrong order for FK constraints

2018-05-06 Thread Mike Dewhirst
On 7/05/2018 4:48 AM, Andrew Wrigley wrote: Hi Mike, thanks for the reply. My understanding is --natural-X only works if `natural_key`, `get_by_natural_key` are manually implemented on the models. I think the process should work without doing that, but I'm not sure why django orders the models

Re: Username same as user id

2018-05-06 Thread lakshitha kumara
hi anthony Look at the facebook registration form. there are no username field first time user registration. but once user registered they can set username what they want. Thanks On Sunday, May 6, 2018 at 8:13:55 PM UTC+5:30, lakshitha kumara wrote: > > Hello guys > > Is there way to assig

Re: Upgrading from 1.11 to 2.0: "sqlite3.OperationalError: no such table"

2018-05-06 Thread Michael Gauland
Just in case anyone else runs into this, I fixed it by specifying db_contraint=False for foreign keys which cross databases. -- 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: Username same as user id

2018-05-06 Thread Jani Tiainen
Hi, Have you considered using custom user with custom authentication backend to handle authentication? On Mon, May 7, 2018 at 3:56 AM, lakshitha kumara wrote: > hi anthony > > Look at the facebook registration form. there are no username field first > time user registration. but once user regis

Re: Username same as user id

2018-05-06 Thread lakshitha kumara
Hello Jeni Thank you for your reply. yes i dealing with my own custom authentication backend and now i desided to use username as random number Instead of user id if username not set. Thanks you On Sunday, May 6, 2018 at 8:13:55 PM UTC+5:30, lakshitha kumara wrote: > > Hello guys > > Is the

Re: Adding to all templates context via Middleware

2018-05-06 Thread Bernd Wechner
Daniel, The backend code contains: TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, "templates"),], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.