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/c09c05f6-e660-d07a-0c14-2ecc53bb5dde%40dewhirst.com.au. For more options, visit https://groups.google.com/d/optout.