Skip to content

Mohammadreza-Rokni/Weathercaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

step 1: Generated by ('django-admin startproject') using Django 3.0.7. in terminal.

step 2: We create our own app with this command :('python manage.py startapp appname') in terminal, Add my app to the installed app in settings.py

step 3:(Configuration in setting.py)
ROOT_URLCONF = 'WeatherBug.urls', WSGI_APPLICATION = 'WeatherBug.wsgi.application', Static files (CSS, JavaScript, Images)

step 4:(Configure for WeatherBug project) _asgi.py _wsgi.py

step 5: WeatherBug URL Configuration(/WeatherBug/urls.py)

step 6: We enter the private key that we got from the open weather site in this section.(/weather_api/key.py)

step 7: Add template (/base.html)

step 8: Use block and endblock, Add new templates (home.html,result.html)

step 9: Create your views(/weather_api/views.py)

step 10: weather_api URL Configuration(/weather_api/urls.py)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published