I want to make an image gallery:
- show/upload and remove images
- I want to have catogories
- I want to categorize them and change categories later
- I want to add tags to them
- I want to make it persoanl for each user
- I want to make favorite list from images
- I want to let people to left comment
- I want to confirmed comments before publish them
- make a simple url and see the html result
- why make an app and what is it?
- app structure
- base url
- urls.py file
- app name
- add to settings installed app
- use urls and views to show a page
add tags to it:
-
image
-
h1 to h6
-
p and div
-
a and button tag
-
html head bodey footer
-
How to use bootstrap, bulma, tailwind
- class
- attribute
- methods
why we use model?
- name:
- description
- date
- image_file
- created
- active
- git add / git commit -m
- git checkout
- git branch
- git branch -d
- name and relationship
- class Meta
- the name method
- property method (@property)
- how to reach
- how to use
- set admin file
-
use model in view
-
define a form for model
-
show the form in html -> done
-
handle the form in view -> done
-
make a list view -> done
-
url name and redirection -> done
-
make a details view for image -> done
-
make an edit view -> done
-
make view to add/edit category -> done
-
(git and github, push code on github)
-
remove an image (soft and hard)
-
like an image -> done
-
show like numbers -> done
- making filter for list view (by date, category) -> done
- making sort key for list view (by date, category) -> done
- making search function -> done
- Q function for search -> done
- making dropdown list for date (validation for date and a bit about validation)
- grab data from get/post request (with form with cleaned data) search function
- making complicated query like (date rage, gte, lte , join)
- django crispy forms
- how to extend templates
- how to include templates
- template tags : built-in template tags
- block -> done
- comment (2 type)
- extends -> done
- for and for empty
- if -> done
- boolean
- include
- url -> done
- filters
- date
- length
- linebreaks / linebreaksbr
- lower / upper
- time
- truncatechars / truncatewords
- static -> done
- write a css
- use libraries(bootstrap)
- making account app
- authentication (login logout, reset password, )
- list of likers
- add commit in any changes
- using branch