Commit Graph

18 Commits

Author SHA1 Message Date
Aby James
7c57e650da Update django.py cheat sheet to include unit tests and coverage
Extend Django.py Cheat Sheet: Incorporate Unit Testing and Coverage Information

This commit enhances the existing Django.py cheat sheet by integrating guidance on unit testing and coverage analysis. The update includes detailed instructions on writing unit tests within Django applications, setting up test fixtures, executing tests locally, and leveraging coverage tools for assessing code coverage.

Changes:
- Added comprehensive instructions on writing unit tests for Django applications.
- Included guidance on setting up test fixtures and organizing test files.
- Provided commands and examples for running tests locally using Django's testing framework.
- Introduced information on using test coverage tools like `coverage.py` to assess code coverage.
- Enhanced the documentation to ensure clarity and completeness.

This update aims to empower developers with the necessary knowledge and resources to ensure the robustness and reliability of their Django projects through effective testing and coverage analysis.
2024-03-19 00:00:17 +05:30
AnuragSharma122
8b92343e9e I have added a part of database in this file 2021-12-21 18:19:54 +05:30
Devansh Soni
1de769e598 Correct misspelled word 2021-02-05 18:14:31 +05:30
Madhav Mittal
2bd53d642d Update django.py
App creation
2020-08-17 03:45:21 +05:30
qiisziilbash
3f4277fafe django start project steps reordered, in order to install django in venv instead of /usr 2019-12-10 12:13:04 -07:00
Julien Le Coupanec
5f0b94b7c2 style(django): remove empty lines 2019-12-09 11:51:16 +01:00
qiisziilbash
5b2794a35e Django start project and deployment steps were added 2019-12-08 17:50:49 -07:00
pfeinsondev
b7a5aa284c Update django.py
Ammend runserver with optional port parameter. Useful if 8000 is unavailable.
2019-11-20 21:37:39 -08:00
Manoj Tyagi
d309cb8546 Reordered the commands alphabetically 2019-10-11 00:17:27 +05:30
Manoj Tyagi
166ca58ac3 Four more django-admin commands added
I have added four more app-related django-admin commands.
2019-10-10 23:45:55 +05:30
Julien Le Coupanec
841dc6ce33 docs(django): update 2019-09-24 09:26:33 +02:00
Manoj Tyagi
a38e141789 Some more django-admin commands added
I have added some more useful and some advanced django-admin commands with there use and description in a proper format.
2019-09-24 01:30:10 +05:30
Ryan Febriansyah
4e10d483d3 updated django-admin command 2019-04-11 04:15:52 +07:00
Julien Le Coupanec
b370cc0400 Django: update django-admin 2018-02-11 19:02:39 +01:00
shrivatsahosabettu
0422661584 django-admin
Added the django-admin commands
2018-02-06 14:45:44 +05:30
Julien Le Coupanec
22613b2185 Fix issue with folders 2018-02-06 02:10:51 +00:00
Julien Le Coupanec
34124c1731 Reorganizing the repository 2018-02-06 02:09:12 +00:00
Julien Le Coupanec
f4ec8cd116 Django cheatsheet 2017-11-18 17:22:05 +00:00