Closed
Bug 982853
Opened 12 years ago
Closed 12 years ago
Make 'crashstats' a url namespace
Categories
(Socorro :: Webapp, task)
Tracking
(Not tracked)
RESOLVED
FIXED
78
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 | ||
Updated•12 years ago
|
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
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
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Target Milestone: --- → 78
You need to log in
before you can comment on or make changes to this bug.
Description
•