Harmonica-Men / AstroShare-Blog

ASTRONOMY BLOGS
0 stars 1 forks source link

USER STORY: Register blog models with the Django admin. #22

Closed Harmonica-Men closed 3 weeks ago

Harmonica-Men commented 3 months ago

As a software developer, I want to register the blog models with the Django admin, so that I can manage blog content through the Django admin interface.


Acceptance Criteria:

  1. Model Registration:

    • The Post model is registered with the Django admin.
    • The Comment model is registered with the Django admin.
    • The Category model is registered with the Django admin.
    • The Profile model is registered with the Django admin.
  2. Admin Customization:

    • The Post admin interface displays fields for title, author, and timestamps.
    • The Comment admin interface displays fields for content, author, and post reference.
    • The Category admin interface displays fields for name and description.
    • The Profile admin interface displays fields for user information (e.g., username, bio, profile picture).
  3. Admin Features:

    • The Post admin interface allows filtering by author and date.
    • The Comment admin interface allows filtering by post and author.
    • The Category admin interface allows searching by name.
    • The Profile admin interface allows searching by username.
  4. Testing:

    • Ensure that all models are accessible and manageable through the Django admin interface.
    • Verify that the customizations and features work as expected.

Tasks:


Notes:

EPIC 4