django include all columns admin show

  1. Create a new Django app or open an existing one.

  2. Define a new model or use an existing one.

  3. Register the model in the admin.py file using the admin.site.register() method.

  4. Customize the way the model's data is displayed in the admin interface by creating a new ModelAdmin class and customizing its attributes and methods.

  5. Associate the ModelAdmin class with the model by passing it as the second argument to the admin.site.register() method.

  6. Run the Django development server and navigate to the admin interface to view all the columns that are now displayed for the registered model.