Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Django 1.3 alpha static settings consistency [RSS Feed]

#1 Dec. 1, 2010 20:46:39

f.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django 1.3 alpha static settings consistency


According to some pages in the dev documentation, the settings are
STATIC_ROOT and STATIC_URL:http://docs.djangoproject.com/en/dev/ref/settings/http://docs.djangoproject.com/en/dev/howto/static-files/But according to this page and to the actual code, the settings are
actually STATICFILES_ROOT and STATICFILE_URL:http://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/And code files:
django/conf/global_settings.py
django/conf/project_template/settings.py
django/contrib/staticfiles/*.py
django/contrib/staticfiles/management/commands/collectstatic.py
django/contrib/staticfiles/templatetags/staticfiles.py

Is the inconsistency due to switching from one to the other and could
someone enlighten us as to the setting that will be used in the future
so that Django users can use that (run a regex replace all until the
fixes get committed/released)?

Thanks!

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

Offline

#2 Dec. 1, 2010 22:58:45

Russell K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django 1.3 alpha static settings consistency


On Thu, Dec 2, 2010 at 4:43 AM, fahhem <fahh...@gmail.com> wrote:
> According to some pages in the dev documentation, the settings are
> STATIC_ROOT and STATIC_URL:
>
>http://docs.djangoproject.com/en/dev/ref/settings/>http://docs.djangoproject.com/en/dev/howto/static-files/>
> But according to this page and to the actual code, the settings are
> actually STATICFILES_ROOT and STATICFILE_URL:
>
>http://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/> And code files:
> django/conf/global_settings.py
> django/conf/project_template/settings.py
> django/contrib/staticfiles/*.py
> django/contrib/staticfiles/management/commands/collectstatic.py
> django/contrib/staticfiles/templatetags/staticfiles.py
>
> Is the inconsistency due to switching from one to the other and could
> someone enlighten us as to the setting that will be used in the future
> so that Django users can use that (run a regex replace all until the
> fixes get committed/released)?

>From my inspection, the code locations you reference all say
STATIC_FILES and STATIC_ROOT now. This was a relatively recent change;
if you have an older source code checkout, it may not reflect these
changes.

Yours,
Russ Magee %-)

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

Offline

  • Root
  • » Django
  • » Django 1.3 alpha static settings consistency [RSS Feed]

Board footer

Moderator control

Enjoy the 16th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support