On 23/03/2022 12.55, Prashanth Patelc wrote:
/I am getting this error /
/please solve any one thanks in advance./
/
/
django.core.exceptions.ImproperlyConfigured: Requested setting
REST_FRAMEWORK, but settings are not configured. You must either define
the environment variable DJANGO_SETTINGS_
*I am getting this error *
*please solve any one thanks in advance.*
django.core.exceptions.ImproperlyConfigured: Requested setting
REST_FRAMEWORK, but settings are not configured. You must either define the
environment variable DJANGO_SETTINGS_MODULE or call settings.configure()
before accessing
I'm using Apache 2.4 and Python 2.6.8. We have several different virtual
hosts and the DJANGO_SETTINGS_MODULE is defined within each virtual host.
However, the wsgi file gets loaded before the settings.py file. This
works fine under Django 1.5.1 as settings aren't referenced from within the
Hi everybody (specially Malcom),
After a long period, I had time to delte the unecessary variables and test
it. So, finally, the goes the list of settigns you must include on you
default settings file in order to use you application models outside Django
web context (a python server side script fo
Malcolm, it works
Thanks a lot, I shall delete the unecessary global settings.
TKS!!!
Tkm
On 5/11/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
> Hi Bruno,
>
> On Fri, 2007-05-11 at 11:11 -0300, Bruno Tikami wrote:
> > Hello Malcolm
> >
> > Thanks for you fast reply
> >
> > I'
Hi Bruno,
On Fri, 2007-05-11 at 11:11 -0300, Bruno Tikami wrote:
> Hello Malcolm
>
> Thanks for you fast reply
>
> I'll try to put the missing settings on my project.settings . Do I
> have to call configure() in some diferent way after I do that? I mean,
> if my settings have all the global
Hello Malcolm
Thanks for you fast reply
I'll try to put the missing settings on my project.settings . Do I have to
call configure() in some diferent way after I do that? I mean, if my
settings have all the global settings...
On 5/11/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
> On
On Fri, 2007-05-11 at 22:53 +1000, Malcolm Tredinnick wrote:
[...]
> Manual configuration isn't really designed to make it trivial to specify
> your normal settings file and some overrides like you are trying to do
> here.
I should point out that there wasn't really any technical reason for
this
On Fri, 2007-05-11 at 09:41 -0300, Bruno Tikami wrote:
> Hi!
>
> I'm trying to use Django models from a python script and I'm having
> some settings problem. Even though I called settings.configure, it
> keeps ordering for some other setting parameter. The error is listed
> below. Any idea?
>
>
Hi!
I'm trying to use Django models from a python script and I'm having some
settings problem. Even though I called settings.configure, it keeps ordering
for some other setting parameter. The error is listed below. Any idea?
$ python
>>> import recorder
>>> import recorder.settings
>>> from dja
anyone meet the bug below?
if your have a app have the same name as projectname,
manage.py will always print out :
Traceback (most recent call last):
File "./manage.py", line 11, in ?
execute_manager(settings)
File "/usr/lib/python2.3/site-packages/django/core/management.py",
line 1051, i
11 matches
Mail list logo