#19724: manage.py app commands enumeration fails silently when MEDIA_URL doesn't end with a slash -------------------------------------+------------------------------------- Reporter: peter.davis8@… | Owner: nobody Type: Uncategorized | Status: new Component: Core (Management | Version: commands) | 1.5-beta-1 Severity: Normal | Resolution: Keywords: | Triage Stage: Has patch: 0 | Unreviewed Needs tests: 0 | Needs documentation: 0 Easy pickings: 0 | Patch needs improvement: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by aaugustin):
* needs_better_patch: => 0 * needs_tests: => 0 * needs_docs: => 0 Comment: I can reproduce the problem and I think it's caused by: {{{ try: apps = settings.INSTALLED_APPS except ImproperlyConfigured: # Still useful for commands that do not require functional settings, # like startproject or help apps = [] }}} in `django.core.management.get_commands`, as an invalid `MEDIA_URL` raises `ImproperlyConfigured` when the settings are first accessed. -- Ticket URL: <https://code.djangoproject.com/ticket/19724#comment:1> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.