Error while creating an API

2020-04-09 Thread Kushal Neupane
Dear all, i got error while making an API. Help me C:\Users\Kushal Neupane\Desktop\1. Project Folder - [SMART RESTAURANT POINT OF SALE] - [KUSHAL NEUPANE]\1. Project Artefact\5. Development\restro_app>python manage.py runserver Watching for file changes with StatReloader Performing system checks.

Re: Error while creating an API

2020-04-09 Thread Abhijeet Viswa
Hey, This mailing list is meant the development of Django itself and not for problems faced by users when developing a Django app. dja...@googlegroups.com is in fact related to that latter. Also checkout the "Getting Help" page: https://docs.djangoproject.com/en/3.0/faq/help/

Re: Proposal: Allow stopwords in slugs generated by ModelAdmin.prepopulated_fields

2020-04-09 Thread Adam Johnson
I for one am quite surprised to learn the admin has this behaviour. I'm extra surprised it assumes it's in English if only ASCII letters are used. This is quite a naïve assumption 😂 (See what I did in that sentence?) Was removal of these words introduced for SEO reasons? > Seems likely. Persona

Re: Error while creating an API

2020-04-09 Thread Adam Johnson
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely t

Re: Adding ability to choose AutoField type (signed vs unsigned)

2020-04-09 Thread Collin Anderson
Having a DEFAULT_AUTOFIELD setting makes sense to me. On Monday, April 6, 2020 at 12:48:10 PM UTC-4, Adam Johnson wrote: > > Jure - yes switching the setting should generate migrations for all > affected models. The migration guide would cover changing models' primary > key fields to PositiveBig

Re: Adding ability to choose AutoField type (signed vs unsigned)

2020-04-09 Thread Tim Graham
How would the strategy of having a setting generate new migrations work with third-party apps? Generally migrations can't easily be added to them by user projects and if more migrations are added to the third party app in a later version, there will be an inconsistent history. On Thursday, Apri

Widget Media Class

2020-04-09 Thread David Smith
Hi all, Hope you are all well. Ticket #22298 discusses what to do with the Media class for widgets. Discussion on the ticket dates back to 2014, are wide ranging and a conclusion has not been reached. Now that time has moved on somewhat what are t

Re: Widget Media Class

2020-04-09 Thread Carlton Gibson
Hi David. Right... ummm... That's all a bit speculative. The best answer is more that likely that there are no current opinions on the issue. 🙂 Rather, folks will have to go and have a read and a think and come up with opinions (or remember old ones.) That's OK, but it's asking for work, whic