In python.py you just need to change the following line
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "projectname.settings")
no other changes required.
this error should be from settings.py
for details on python.py
read same doc as your django version.
https://docs.djangoproject.com/en/dev
Hey Casey,
I followed this doc, but still I am not getting this working.
Do I need to do anything else to get it work?
On Tuesday, 8 March 2011 19:11:32 UTC+5:30, Casey wrote:
>
> Have you seen this yet:
>
>
> http://docs.djangoproject.com/en/dev/topics/class-based-views/#decorating-class-based-
First of all, I am expecting `--no-obsolete` would comment out `msgid` and
`msgstr` if `gettext` is deleted, right?
How I am testing is:
1. I wrote `gettext("some string here")` in view
2. I ran `makemessages` command
3. It wrote a `.po` file as expected
4. Then I deleted `gettext()` line
All my emails never are responded, i'm thinking they not going to
discussion list. Someone can reply anything just to let me know.
On Sun, 18 Mar 2018 at 19:48 Kishor Pawar wrote:
> First of all, I am expecting `--no-obsolete` would comment out `msgid` and
> `msgstr` if `gettext`
4 matches
Mail list logo