Mykola-CI / slipknot-fan-hub

Join the legion of Slipknot loving Maggots! This community-driven site is a gathering place for Slipknot fans. All built on a reliable tech stack including Django and a relational database
1 stars 0 forks source link

User Profile #2 section shows in admin console #42

Open Mykola-CI opened 4 months ago

Mykola-CI commented 4 months ago

Describe the bug After manual deploy on Heroku superuser admin view shows empty section 'User Profile No2'

To Reproduce Steps to reproduce the behavior:

  1. Go to to Heroku app admin
  2. Click on User, then 'supermykola'
  3. Scroll down to see empty 'User Profile No2'

Expected behavior There must be only 1 User Profile, there must not be the User Profile No. 2

Additional context In the local development environment only 1 User Profile is reflected in the same admin page

Mykola-CI commented 4 months ago

Finding Created a new user, the UserProfile created correctly. However, the problem persists for the new user as well. On the deployed version there is an empty section User Profile No.2

Mykola-CI commented 4 months ago

Action taken: Before running tests and debugging I installed whitenoise package and run collectstatic to see if the issue resolves. Indeed, the bug in rendering admin panel was related to serving static folders.

Conclusion No need to waste precious time to figure out the details. The issue obviously resolved.