你帮我获得加拿大的工作移民签证,我就可以帮你解决问题。
在 2020年5月17日星期日 UTC+8上午4:51:45,chaitan写道:
>
> Hi, I am facing ModuleNotFoundError in my Django application. It got
> configured with multiple settings files for production, Development &
> Testing.
> When I Try to run Python manage.py runserver --settings= settings_d
I thought I'd go back and look at your original post. Your settings file
looks a bit tricky.
I learned to deal with multiple settings files a long time ago so I
don't know what current best practice is. Essentially, the way I do it
is to have a complete base.py with all settings in a default s
Thank Jeorge. I went through that blog long back but I can't find a
relation to my Error. I will try contacting my manager regarding this. will
let you know if I find anything. Have a great day
On Tue, May 19, 2020 at 2:44 PM Jorge Gimeno wrote:
> I'm not sure why you're getting an exception.
I'm not sure why you're getting an exception. I know the import mechanism
in Python 2 was a bit different, so I'm not sure if that's the issue or if
Django's import mechanism isn't finding your settings file.
I don't know if you have tried this, but I saw a blog post on using
multiple settings fi
I tried that way, sir. but it's of no use. I don't know how to resolve
this issue. its been troubling me for 3 days now
On Mon, May 18, 2020 at 9:29 PM Mike Dewhirst wrote:
> On 19/05/2020 11:10 am, chaitanya orakala wrote:
> > I am using Python 2.7
>
> It is possible you need a top line in the
On 19/05/2020 11:10 am, chaitanya orakala wrote:
I am using Python 2.7
It is possible you need a top line in the file like this ...
from __future__ import absolute_import
I haven't been following this thread so someone may have mentioned that
already.
--
You received this message because
hey could anyone help with this?
On Mon, May 18, 2020 at 2:44 PM chaitanya orakala
wrote:
> Hi Jorge,
> I tried placing a dot in front of settings_dev_sai, it didn't work. by the
> way, I am using Python 2.7 and Django 1.10 versions.
> [image: image.png]
> this is my project structure. I am usi
Hi Jorge,
I tried placing a dot in front of settings_dev_sai, it didn't work. by the
way, I am using Python 2.7 and Django 1.10 versions.
[image: image.png]
this is my project structure. I am using a virtual environment.
Please let me know what you think sir
On Sat, May 16, 2020 at 7:54 PM Jorge
It's coming from your settings file. I would try this:
In this line here:
elif HOST == "Sai" :
from settings_dev_sai import *
I would try to make the second line:
from .settings_dev_sai import *
See if Python can find the module that way. If Python does, then all of
the imports in that
Do you have any idea why i am getting this error?
On Sat, May 16, 2020 at 6:40 PM chaitanya orakala
wrote:
> Yes Jorge, all the settings file are in the same folder
>
>
> On Sat, May 16, 2020 at 5:20 PM Jorge Gimeno wrote:
>
>>
>>
>> On Sat, May 16, 2020 at 1:52 PM chaitan wrote:
>>
>>> Hi, I
Yes Jorge, all the settings file are in the same folder
On Sat, May 16, 2020 at 5:20 PM Jorge Gimeno wrote:
>
>
> On Sat, May 16, 2020 at 1:52 PM chaitan wrote:
>
>> Hi, I am facing ModuleNotFoundError in my Django application. It got
>> configured with multiple settings files for production,
On Sat, May 16, 2020 at 1:52 PM chaitan wrote:
> Hi, I am facing ModuleNotFoundError in my Django application. It got
> configured with multiple settings files for production, Development &
> Testing.
> When I Try to run Python manage.py runserver --settings= settings_dev_sai.
>
> This is My *Set
Hi, I am facing ModuleNotFoundError in my Django application. It got
configured with multiple settings files for production, Development &
Testing.
When I Try to run Python manage.py runserver --settings= settings_dev_sai.
This is My *Settings* File:
import socket
#import settings depending
13 matches
Mail list logo