mirror of
https://github.com/Rushilwiz/launchx.git
synced 2025-04-05 12:40:18 -04:00
18 lines
482 B
Python
18 lines
482 B
Python
from django.contrib import admin
|
|
|
|
from .models import Team, Competitor
|
|
from django.contrib.auth.models import User, Group
|
|
|
|
# Register your models here.
|
|
class LaunchXAdminSite(admin.AdminSite):
|
|
site_header = "LaunchX Admin"
|
|
site_title = "LaunchX Admin Portal"
|
|
index_title = "Welcome to LaunchX Admin Page"
|
|
|
|
admin_site = LaunchXAdminSite(name='launchx-admin')
|
|
|
|
admin_site.register(User)
|
|
admin_site.register(Group)
|
|
|
|
admin_site.register(Competitor)
|
|
admin_site.register(Team) |