#16631: Logic in check_settings() in staticfiles app when no base_file is given 
is
wrong
--------------------------+-------------------------------------
 Reporter:  andialbrecht  |          Owner:  nobody
     Type:  Bug           |         Status:  new
Milestone:                |      Component:  contrib.staticfiles
  Version:  SVN           |       Severity:  Normal
 Keywords:                |   Triage Stage:  Unreviewed
Has patch:  0             |  Easy pickings:  0
    UI/UX:  0             |
--------------------------+-------------------------------------
 "manage.py runserver" fails even when STATIC_URL is configured in
 settings.py with the following exception:

 {{{
 Traceback (most recent call last):
 File "/home/andi/devel/dlgi/django/core/management/commands/runserver.py",
 line 110, in inner_run
 handler = self.get_handler(*args, **options)
 File
 
"/home/andi/devel/dlgi/django/contrib/staticfiles/management/commands/runserver.py",
 line 26, in get_handler
 handler = StaticFilesHandler(handler)
 File "/home/andi/devel/dlgi/django/contrib/staticfiles/handlers.py", line
 21, in init
 self.base_url = urlparse(self.get_base_url())
 File "/home/andi/devel/dlgi/django/contrib/staticfiles/handlers.py", line
 28, in get_base_url
 utils.check_settings()
 File "/home/andi/devel/dlgi/django/contrib/staticfiles/utils.py", line 49,
 in check_settings
 "You're using the staticfiles app "
 django.core.exceptions.ImproperlyConfigured: You're using the staticfiles
 app without having set the required STATIC_URL setting.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16631>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to