Projects to absorb back-end knowledge using a Django framework.
https://www.djangoproject.com/
The following content was taught in theses sections:
-
Section 1 - Basics of web programming:
- Client-Server Architecture;
- HTTP protocol;
- Backend, Frontend and Full-stack;
- Dynamic and static programming;
- Basics of HTML, CSS and JS;
- Git and Github.
-
Section 2 - Basics Django framework:
- Creation of virtual environment and installation of Django with database;
- Standard Models, Templates, Routes and Views (MTV);
- Administrative area (admin);
- static files (CSS, JS);
- Django shell;
- SQLite3 database.
- Heroku server.
-
Section 3 - intermediate django framework:
- Forms for submission via email;
- Forms for recording in database;
- Restriction of sections for unauthorized users;
- MySQL database.
-
Section 4 - advanced django framework:
- Class based views;
- Context manager;
- Templates inheritance;
- PostgreSQL database.
-
Section 5 - testing your project:
- Mommy model and Coverage libraries;
- Model test;
- Form test;
- View test.
-
Section 6 - dissecting the django user model:
- Custom admin screen overriding admin.py functions;
- Admin and common user;
- Restrictions on access, modification and visualization of data for different users;
- Custom login page.
-
Section 7 - working with translation of django projects:
- Installation and configuration of gettext and gettext_lazy;
- Translation using gettext, gettext_lazy and poedit.
-
Section 8 - relationship between models:
- One-to-One Relationship (OneToOneField);
- One-to-many relationship (ForeignKey);
- Many-to-Many Relationship (ManyToManyField);
- Deleting strong entities and weak entities in cascade;
- Deleting strong entities and replacing weak entities with default data or other strong entities.
-
Section 9 - working with realtime applications in your django projects:
- ;
You can access the project's source code or download it.
Python
Django
SQLite3
Heroku
CSS
HTML
JavaScript
Gabriel Ferreira |
---|