Closed Bug 982853 Opened 12 years ago Closed 12 years ago

Make 'crashstats' a url namespace

Categories

(Socorro :: Webapp, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

We currently add the urls.py of ./crashstats/crashstats/ directly into the root urlpatterns. And then we have silly convention of putting `crashstats.` as a prefix for every url in ./crashstats/crashstats/urls.py So you refer to a url with `reverse('crashstats.report_list')` for example. Instead we should use a namespace. Then you refer to the url with `reverse('crashstats:report_list')` instead.
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/4cba8e0211f3245f8cd45e326ef910d55e74e9c4 fixes bug 982853 - Make 'crashstats' a url namespace https://github.com/mozilla/socorro/commit/3fb328418215af7ff64e995de8ef2c32fa637b87 Merge pull request #1948 from peterbe/bug-982853-make-crashstats-a-url-namespace fixes bug 982853 - Make 'crashstats' a url namespace
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 78
You need to log in before you can comment on or make changes to this bug.