Skip to content

PrashanjeetH/Django_Practise

Repository files navigation

Django Practise

I posted all my Django practise code while going through the course from edx and later exploring world of django on own.

Course Name :

CS50's Web Development with Python and JavaScript | edx

Instructor

Brian Yu and David. J. Malan

To Run any of the practise module run the below commands in the given sequence:

python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver

Open your browser and goto 127.0.0.1:8000 where 8000 is the default port number django uses.

Repo Walkthrough
  • practise00 : Hello world in Django i.e rendering returning HTML response from views.
  • practise01 : Rendering returning HTML file from templates and using models/DB in Django.
  • practise02 : Renderin multiple HTML templetes and Linking them to each other.
  • practise03 : Intro to Django version of jinja2 i.e Django Template Language (DTL) and Loading Static files like css and js.
  • practise04 : Form in Django (Typical way).
  • practise05 : Form in Django (Django Forms Way).
  • practise06 : Handeling media files in Django.
  • practise07 : Introduction to Class Based View in Django.
  • practise08 : User Registration and individual content management.
  • practise09 : Social authentication integrated in project (google authentication) Referred Blog
  • practise10 : Sending mail using SMTP server ( HOST : gmail )
  • practise11 : Exploring Django sessions.
  • practise12 : JsonResponse (Pseodo API)
  • practise13 : Django Rest Framework CRUD operations
  • practise14 : Django-Rest-Framework in details

*HAPPY CODING :)

P.S. : Some modules may need some extra config. see settings.py file of the project for reference.

About

Step-by-step practise code for Django framework.

Topics

Resources

License

Stars

Watchers

Forks