Hello Sir,
You need to set the LOGIN_REDIRECT_URL in your settings.py file.

On Mon, Oct 26, 2020, 8:47 PM Andrew Stringfield <[email protected]>
wrote:

> Hello all,
>
>     I am trying to use Patreon's API Version 2 with Django 3.1.  I read:
> https://docs.patreon.com/#third-party-libraries and found that Patreon
> supported the django-allauth library.  I installed the library by following
> the instructions of:
> https://django-allauth.readthedocs.io/en/latest/installation.html.  I
> start up the default dev server and I go to
> http://127.0.0.1:8000/accounts/signup/ and fill out the form and hit
> submit.  I get the response of:
> ---------------------
> Page not found (404)Request Method:
> GETRequest URL:
> http://127.0.0.1:8000/accounts/profile/
>
> Using the URLconf defined in mysite.urls, Django tried these URL patterns,
> in this order:
>
>    1. admin/
>    2. accounts/ signup/ [name='account_signup']
>    3. accounts/ login/ [name='account_login']
>    4. accounts/ logout/ [name='account_logout']
>    5. accounts/ password/change/ [name='account_change_password']
>    6. accounts/ password/set/ [name='account_set_password']
>    7. accounts/ inactive/ [name='account_inactive']
>    8. accounts/ email/ [name='account_email']
>    9. accounts/ confirm-email/ [name='account_email_verification_sent']
>    10. accounts/ ^confirm-email/(?P<key>[-:\w]+)/$
>    [name='account_confirm_email']
>    11. accounts/ password/reset/ [name='account_reset_password']
>    12. accounts/ password/reset/done/ [name='account_reset_password_done']
>    13. accounts/
>    ^password/reset/key/(?P<uidb36>[0-9A-Za-z]+)-(?P<key>.+)/$
>    [name='account_reset_password_from_key']
>    14. accounts/ password/reset/key/done/
>    [name='account_reset_password_from_key_done']
>    15. accounts/ social/
>    16. accounts/ patreon/
>
> The current path, accounts/profile/, didn't match any of these.
>
> You're seeing this error because you have DEBUG = True in your Django
> settings file. Change that to False, and Django will display a standard 404
> page.
>
> ---------------------
>
> I want to get data from Patreon, but it looks like I am just creating
> local user accounts in the database.  What am I doing wrong?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/090d5b8f-d8cf-4ba7-86b1-35017dec2397n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/090d5b8f-d8cf-4ba7-86b1-35017dec2397n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BARzD-iGnGq3mMm-vVWxH3AoopSfPey%3D_vWvAE30L7F2OvCPg%40mail.gmail.com.

Reply via email to