Skip to content

Removing admin site from urls.py#678

Closed
adamcharnock wants to merge 1 commit intosilverapp:masterfrom
adamcharnock:pr/02-admin-urls-py
Closed

Removing admin site from urls.py#678
adamcharnock wants to merge 1 commit intosilverapp:masterfrom
adamcharnock:pr/02-admin-urls-py

Conversation

@adamcharnock
Copy link
Copy Markdown
Contributor

I'm removing this as I believe the admin URLs should really be added by the host
django project. Adding the urls in the host project and in silver triggers the
following django warning:

?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace

I therefore propose it's removal


Note I haven't been able to run the tests for this change I applied it to the current master stripe code, rather than applying it on top of the changes in #677

I'm removing this as I *believe* the admin URLs should really be added by the host
django project. Adding the urls in the host project *and* in silver triggers the
following django warning:

    ?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace

I therefore propose it's removal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant