Skip to content

Apply Unfold theme to DRF Token, Celery Beat, and Allauth models#41

Merged
DimitrovK merged 3 commits intoCVImprover:mainfrom
Pallavrai:fix-unfolds_model
Oct 4, 2025
Merged

Apply Unfold theme to DRF Token, Celery Beat, and Allauth models#41
DimitrovK merged 3 commits intoCVImprover:mainfrom
Pallavrai:fix-unfolds_model

Conversation

@Pallavrai
Copy link
Contributor

Changes

Applied Unfold admin theme styling to third-party package models:

  • DRF Authentication: TokenProxy model
  • Django Celery Beat: PeriodicTask, IntervalSchedule, CrontabSchedule, SolarSchedule, ClockedSchedule
  • Django Allauth: SocialAccount, SocialApp, SocialToken

What was done

  • Unregistered default admin classes for these models
  • Re-registered with Unfold's ModelAdmin to apply dark theme styling
  • Maintained all default functionality while providing consistent UI across admin panel

Benefits

  • All admin models now have consistent modern dark theme
  • Improved visual experience when managing background tasks and social authentication

Before:

Screenshot 2025-10-03 at 5 24 18 PM Screenshot 2025-10-03 at 5 24 42 PM Screenshot 2025-10-03 at 5 25 08 PM

After:

Screenshot 2025-10-03 at 5 29 44 PM Screenshot 2025-10-03 at 5 40 38 PM Screenshot 2025-10-03 at 5 40 49 PM

Closes #29

@Pallavrai
Copy link
Contributor Author

Hey @DimitrovK, this is my final PR for #29 . I think the admin panel looks good now. If you’d like any further customizations—such as an improved sidebar with more meaningful names for each task instead of the default old admin panel options feel free to let me know.

@DimitrovK
Copy link
Contributor

Good job!

@DimitrovK DimitrovK merged commit b6bd2cb into CVImprover:main Oct 4, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Django Unfold theme to backend

2 participants