OK thanks.

On Mar 18, 10:35 am, Matt Robenolt <youdontevenk...@gmail.com> wrote:
> You can't import a specific variable, you import the settings "package" and
> access the variable from it:
>
> from django.conf import settings
> print settings.APP_NAME1
>
> But as Calvin says, this should not change throughout the project. It's
> essentially a constant.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to