Admin

Replace the default /admin with /your_own address




Register models and customize the Admin Panel

Imports
Register

When you register a model in the Django admin panel using the admin.site.register method, only the species name will be displayed by default, as specified in the __str__ method of the model (def __str__(self): return f"{self.species_name}")

Custom admin class

To include more fields, add filters, search, actions and more you can create a new admin class that inherits from the built-in ModelAdmin class and register it with the model.

Merge the User and Profile models



Sample admin.py file