Skip to content

code: handle homepage view when admin goes to homepage #15

@ankan17

Description

@ankan17

When we create a superuser, and use the Django admin functionality, and from there try to go to the homepage, we will encounter an issue. This issue tries to address that problem. If anyone is interested, I can give more explanation on this one.

Steps to reproduce:

  1. Create a superuser and login to admin from /admin.
  2. Then go to /.
  3. You'll see an error saying UserProfile object does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdifficulty: easySolving this issue is easy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions