Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

keeping it together

  • Loading branch information...
commit 3f50a9d299ee9c65d4085e1c1dca181ccb7e5270 1 parent ebd4b1d
@brosner brosner authored
Showing with 6 additions and 10 deletions.
  1. +6 −10 contacts_import/urls.py
View
16 contacts_import/urls.py
@@ -3,14 +3,10 @@
import contacts_import.tasks
-urlpatterns = patterns("contacts_import.views",
- url(r"^import_contacts/$", "import_contacts", name="import_contacts"),
- url(r"^authsub/login/$", "authsub_login", name="authsub_login"),
-)
-
-
-urlpatterns += patterns("bbauth.views",
- url(r"^bbauth/login/$", "login", {
- "redirect_to": "/contacts/import_contacts/"
+urlpatterns = patterns("",
+ url(r"^import_contacts/$", "contacts_import.views.import_contacts", name="import_contacts"),
+ url(r"^authsub/login/$", "contacts_import.views.authsub_login", name="authsub_login"),
+ url(r"^bbauth/login/$", "bbauth.views.login", {
+ "redirect_to": "/contacts/import_contacts/",
}, name="bbauth_login"),
-)
+)
Please sign in to comment.
Something went wrong with that request. Please try again.