Skip to content

Latest commit

 

History

History
67 lines (65 loc) · 2.49 KB

File metadata and controls

67 lines (65 loc) · 2.49 KB

Classify Todo list

  • Project Setup
    • Create project folder
    • Initiate GitHub
    • Create env file
    • Add README, requirments.txt, .gitignore
    • Install Django via pip . django version 3.2
    • Create Project
    • hide secret key
    • create app , create app view , app urls , render homepage, create template folder, configure template path .
    • Create index view, contact view
    • add Menu and a footer
    • setup postgresql database
    • create models for category
    • run migrate and migrations
    • create superuser
    • add item model
    • run migration for item model
    • configure django media files
    • Display items on homepage item limit should be 6 items
    • Display categories on homepage
    • Create item detail page → item_engine_app ~~~~
    • Add related items-section, add contact seller button or link
    • create user_engine app
    • create register and login page
    • create, add item form , enable login_redirect on add item page
    • create add edit and delete item feature.
    • add , add item button to the menu , restrict auth users from seeing signIn and login button.
    • Dashboard for Authenticated users,
    • list items posted or created by requested user
    • create a dashboard link in navbar
    • Allow auth user to delete
    • Allow user to edit item posted, create separate form
    • Add item page to list all unsold items in the database
    • create search for items
    • create a new app call conversation ,
    • add models and make migrations
    • create forms for conversationMessage model
    • create conversation view
    • create url for the conversation app
    • create template for the conversation app
    • create the inbox view , enable login required
    • configure login_url , login_redirect_url, logout_redirect_url
  • Models
    • Category fields
      • name → Charfield
    • Item fields
      • name → Charfiled
      • description → TextField
      • price floatFIeld
      • is_sold → modles.BooleanField Default=False
      • created_at → datatime shoudl be auto
      • created_by→ Foreignkey to User model
      • category → Foreignkey to Category model
      • image → imagefield
    • Conversation
      • item → FK → Item
      • members → MtM → User
      • created_at
      • modified_at
    • Conversation message
      • conversation → FK → conversation
      • TextField
      • created_by
      • created_at