Thank you for considering contributing to this repository! 🎉 This repository contains documentation and tutorial PROJECTS related to Django, and all tutorials (unique) will be added to the django-tutorial.dev website, which aims to teach Django in simple language and conceptual terms to new developers.
We are proudly participating in Hacktoberfest! If you are new to open source or want to contribute, you are more than welcome to join us. Follow the steps below to start contributing. You will be credited for any tutorial that will end up in the website.
-
Create a Folder for Each Tutorial/Documentation
- For each new topic or Django-specific concept, create a new folder named after the tutorial or topic.
- Within this folder, create a
main.html
file where you will place the content for the main topic.
Example:
tutorials/
└── views/
├── main.html # Main topic (Views in Django)
├── function-based.html # Subtopic: Function-based Views
└── class-based.html # Subtopic: Class-based Views
- Organizing Subtopics
- If your tutorial or documentation has subtopics, create multiple
.html
files for each subtopic inside the same folder. - Ensure that each subtopic file is descriptive and follows the naming format:
<name-of-subtopic>.html
. - Link the subtopic
.html
files from themain.html
file for easy navigation.
- Markdown for Readability
- If you'd like to include Markdown for ease of readability and formatting before converting to HTML, ensure that you use it properly. Tools such as Markdown to HTML converters can help with this process.
- Use simple language and clear explanations to help new developers understand complex concepts.
- Where possible, link to relevant official Django documentation to support your explanations.
- Include code snippets inside
<code>
tags, ensuring they are properly indented and easy to follow. - Avoid advanced jargon unless it's essential to the topic, and provide explanations for any technical terms.
-
Fork the Repository
Create a fork of this repository by clicking the "Fork" button in the upper right corner. This creates a copy of the repository under your GitHub account. -
Clone Your Fork
Clone your fork to your local machine:git clone https://github.com/your-username/django-tutorials.git
-
Create a New Branch
Before you start working on your changes, create a new branch for your feature or fix:git checkout -b your-branch-name
-
Make Your Changes
Add your folder, content, and HTML files. Make sure to follow the guidelines mentioned above. -
Commit Your Changes
After making your changes, stage them and commit:
git add .
git commit -m "Add tutorial for <topic>"
-
Push to GitHub
Push your changes to your GitHub repository:git push origin your-branch-name
-
Create a Pull Request
Go to your fork on GitHub, and click the "New Pull Request" button. Provide a meaningful title and description of your changes.
- Ensure your pull request adheres to Hacktoberfest's quality standards.
- If your pull request is valid and helpful, it will be labeled with
hacktoberfest-accepted
.
- Your pull request will be reviewed for content quality, accuracy, and adherence to the guidelines.
- Feedback will be provided for any necessary changes.
- Once approved, your contribution will be merged into the repository.
If you need any help while contributing, feel free to open an issue or reach out by creating a discussion thread. We are here to support new contributors!
We would like to thank all of the amazing people who have contributed to this project! Below is a table with details of their contributions and links to their GitHub profiles.
Contributor | GitHub Profile | Contribution |
---|---|---|
uozcan12 | uozcan12 | Create Part 2 - Views.html |
Ishan Kumar | newcodergit | Added contents for tutorials |
If you contribute, please add your details to this table in a pull request following the format above. and remember to only add your own information at the bottom of the table and not interfare with other's data
Thank you for contributing and making Django learning easier for everyone! 🙌