0

Can I change the following code:

urlpatterns = [
    ...
    url(r'^accounts/', include('allauth.urls')),
    ...
]

to :

urlpatterns = [
    ...
    url(r'^something_else/', include('allauth.urls')),
    ...
]

since I already have an app accounts in my django projects?

Is the name accounts deeply integrated with django-allauth source code?

Ahtisham
  • 9,170
  • 4
  • 43
  • 57
Anuj Verma
  • 13
  • 6
  • try this `from allauth.account.views import SignupView` and then you can say `url(r'^something_else/', SignupView.as_vew())` – Ahtisham Jan 27 '19 at 05:39
  • Thanks @Ahtisham I found a duplicate here though: https://stackoverflow.com/questions/16817157/django-allauth-configuration-doubts – Anuj Verma Jan 27 '19 at 05:47
  • Did you try it ? – Ahtisham Jan 27 '19 at 05:48
  • I am working on it, however the answer is by the creator of this app itself. I have ensured that my URL patterns do not collide for the two apps for now. – Anuj Verma Jan 27 '19 at 05:58

0 Answers0