after importing announce,directories in settings.py 
if DEBUG:
        announce(__name__, databases=DATABASES, backend="Postgres: 9.5", 
caches=CACHES)

it said CACHES isn't defined when i running the server 
python manage.py runserver












Mike Dewhirst於 2016年9月16日星期五 UTC+8上午8時43分17秒寫道:
>
> On 16/09/2016 1:10 AM, Jonathan Cheng wrote: 
> > thx your code,though i cant run it in cmd 
> That is correct. It is designed to be imported and called from 
> settings.py. 
>
> I'll send you a screenshot off-line 
>
> Mike 
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a9036fd7-62bc-42ca-901e-418eb57491ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to