[Fixed]-Django-allauth basic setup

21👍

Just to check: have you started your server?

python manage.py runserver

EDIT:

It looks like you’re trying accounts/profile/, which isn’t a registered URL. Does it still give an error if you go to localhost:8000/accounts/register?

Also, from the docs:

When I attempt to login I run into a 404 on /accounts/profile/

When you end up here you have successfully logged in. However, you will need to implement a view for this URL yourself, as whatever is to be displayed here is project specific. You can also decide to redirect elsewhere.

Looks like you need to write your own view for accounts/profile/

If you want, you can set your login redirect to a different page in settings.py. I.e.:

LOGIN_REDIRECT_URL = "/"

This would send you back to your homepage.

👤Alex

Leave a comment