Skip to content

A complete example of application (Temperature Converter) in Django

License

Notifications You must be signed in to change notification settings

yyaddaden/django-intro-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Demonstration - Temperature Converter

A series of tutorials to understand Django by implementing a complete Temperature Converter Application.


Table of Contents


Coding Environment

This projet is built using these technologies:

  • Programming Language: Python
  • Web Browser: Mozilla Firefox
  • Code Editor: Microsoft Visual Studio Code (with extensions)
  • Virtual Environment: venv
    1. Create virtual environment with: python -m venv django_venv
    2. Then, activate it with: .\django_venv\Scripts\activate

Coding Steps

Basic App

1. Requirements

For the first step, we install the main package with: python -m pip install django

Then, create a new app with the title: first_django_app

2. Goals

In this steps, we have to achieve the following goals:

  1. Create two routes : converter and results
  2. Make the conversion from celsius to fahrenheit and vice versa
  3. Use only urls.py (routes) and views.py (functions)

3. Results

demo with ScreenToGif

Use of Templates

Data Management

REST API and Authentication

License

License

About

A complete example of application (Temperature Converter) in Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published