girlscript / winter-of-contributing

GirlScript Winter of Contributing is a three-month-long Open-Source Program organized by🧡GirlScript Foundation to create the world's largest multilingual content repository that will be available to everyone.
MIT License
881 stars 1.57k forks source link

[Backend-Dev-Python]: Create a simple endpoint and a view in django #7146

Open AVS18 opened 2 years ago

AVS18 commented 2 years ago

Description

Explain how to create a new route (endpoint) in django.

Hints:

Create a URL in urls.py and attach it to a function in views.py

Explain steps, best practices.

Domain

Backend Dev (Python)

Type of Contribution

Video, Documentation

Code of Conduct

github-actions[bot] commented 2 years ago

Hello @AVS18,
Thank you for opening an issue. :octocat:
Note - Self-assigns by the original author will be prioritised by mentors manually
To get assigned to this particular issue please use /assign
Check this guide before contributing.

snehar-bajwa commented 2 years ago

/assign

github-actions[bot] commented 2 years ago

This issue has been assigned to @snehar-bajwa! It will become unassigned if it isn't closed within 12 days. A maintainer can also add the pinned label to prevent it from being unassigned.