Django is like a Rambo to me, a powerful framework with lots of weapons. If you know handle just aim and bang bang 💥 💥 💥....
Overview:
So we are using django-taggit a simpler approach to tagging with Django, and image upload using cloudinary, simply to upload image on cloud. For most of people will be helpful who does not have access to aws (s3 bucket) or an alternative to it.
[Note: if you stuck in the process you can get through my GITHUB}
Tools/Technologies:
[Note: Need to have a cloudinary account which is purely free.]
Basic Setup:
our project structure will look like this:
Lets create a new app called books
Let make some basic config, create a urls.py on books app.
And open the main app urls.py, it looks like this:
- Next we create a models for book:
our views.py
- Now for urls.py
- Now we setup templates and config cloudinary api in settings
- Registering our apps and 3rd party app:
- Cloudinary settings:
- Next we create a templates folder in our root directory:
Next, we create a templates:
- base.html
- create.html
- home.html
- base.html
- templates/base.html
- templates/home.html
- templates/create.html
- templates/nav.html
Still there are lots of improve can be done like update, delete , permission, login, signup so its your turn guys to make it happen. I won't be doing here ...
- Here, is link for this app demo : Tagme
- You can access amin panel to but access are limit:
- username: heroku
- password: hero@123
![]() |
Create page |
![]() |
click on tags: it will render page according to tag |
Conclusion: django_taggit is simple addons for django which reduce your time in development process. hope you guys made it to here....
Till then bye bye.....😀😀😀