- Basically what I mean is setting up the following:
- HTML formatting for a form in a template (I'll set up the files, comment in useful links, etc...)
- In views.py write in the logic for processing the articles basically so we have it in our databases (https://docs.djangoproject.com/en/3.0/topics/http/views/) (we'll probably change this later but just for usage now). If you don't know how to write it out actually (like what model names to use from models.py) just write in pseudocode (which is just like:
- article = request.get("article_body")
- Articles.objects.create("temp", article, ...) #this isn't an actual model name but just temporary and so on and so forth
- link up which URL should display the template (Google will be your best friend and I'll link the basic ones) and which URL should go to which view.
- Set up models.py file (see PD Website.mwb)
- Refer to links below:
- Making Migrations:
- python manage.py
- makemigrations [name_of_model_class_created]
- ONE CLASS AT A TIME
- Go through all the files and sort into what is needed (categorising)
- Set up framework w/ migrations and Django hijinks
- Create README.md file for reference tasks
- Comment through basic code w/ file names/documentation