174 followers
A unique blend of social work graduate and self-taught programmer. I wish to empower and support all who are trying to learn to code, especially women. Fan of Python and good friend with CSS.
Intro Django is an MTV framework. Instead of MVC (Model, Views, Controller), it uses Model, Template, and View. The View is a Python function that takes a Web request and returns a Web response (in MVC, this would be a Controller). But the heart of y...
Prerequisites You will need the basic knowledge of Django. If you don't feel comfortable with Django yet, try this beginner-friendly tutorial. Django template filters While tags lives between curly braces and a percent ({% tag %}), variables live bet...
Intro Django templating language (Django's default out-of-the-box templating language) comes with dozens of tags that make your template powerful and allows you to do many many things. Tags provide arbitrary logic in the rendering process and they ar...
What is list comprehension List comprehension is a concise way used instead of for-loop when you want to create a new list based on another iterable (list, tuple, dictionary, set, string, generator, ...). You get to do this: [do_this(element) for ele...
Uploading an image, using packages, pagination, customizing admin
You're thinking about switching your career and become a programmer, but you have no idea where to start? Are all the buzzwords confusing and you don't know who to ask? Look no more, here's the post to help. A lot of information is gathered here. Don...