RE: Possible bug in runserver

2022-11-11 Thread Mike Dewhirst
Try using the inline argument --settings when executing runserver--(Unsigned mail from my phone) Original message From: Matteo Sani Date: 12/11/22 05:38 (GMT+10:00) To: Django users Subject: Possible bug in runserver Hello, I wanted to run Django runserver with custom

Re: Can't Load Django Dev Sever

2022-11-11 Thread James
Thanks so much! I thought I was doing something wrong when I deleted the cache and cookies and nothing happened. Just needed to restart my computer after clearing the cache/cookies; may have been a firefox bug! Thanks again for you help! Best Regards, -James Logan On Friday, November 11,

Re: Can't Load Django Dev Sever

2022-11-11 Thread Ahmad Abdulnasir Shuaib
Try clearing cache and cookies for 127.0.0.1 On Fri, Nov 11, 2022, 8:36 AM Mike Dewhirst wrote: > Try visiting http://localhost:8000 instead > > No guarantees and I'm not going to test it myself ;-) > > > > > > -- > (Unsigned mail from my phone) > > > > Original message >

writing most common queries as model class method!

2022-11-11 Thread Amir Jamshidi
Hi, I tried to write a classmothods/ instance method in a Model in order to run most common query from the model but got errors like below : ""AttributeError: Manager isn't accessible via ... instances"" example code: class Profile(model.Model): name = model.Charfield(...) address =

Possible bug in runserver

2022-11-11 Thread Matteo Sani
Hello, I wanted to run Django runserver with custom settings defined in proj/mysettings.py. So I exported the env variable DJANGO_SETTINGS_MODULE to point to the custom settings file and then I ran manage.py runserver … The printout was showing that Django was still using the default

Apps aren't loaded yet exception when trying to run migrate Django oscar

2022-11-11 Thread Leslie Taffe
I'm trying to get to know django-oscar and this is what happens when i try to make migrations : Traceback (most recent call last): File "C:\Users\Leslie\Desktop\GrandmarketV3\Grandmarket\manage.py", line 22, in main() File "C:\Users\Leslie\Desktop\GrandmarketV3\Grandmarket\manage.py",