├── WeatherBug ├── __init__.py ├── __pycache__ │ ├── urls.cpython-38.pyc │ ├── wsgi.cpython-38.pyc │ ├── __init__.cpython-38.pyc │ └── settings.cpython-38.pyc ├── asgi.py ├── wsgi.py ├── urls.py └── settings.py ├── weather_api ├── __init__.py ├── migrations │ ├── __init__.py │ ├── 0002_delete_social.py │ └── 0001_initial.py ├── key.py ├── tests.py ├── admin.py ├── apps.py ├── urls.py └── models.py ├── runtime.txt ├── db.sqlite3 ├── static ├── ss │ ├── a.png │ └── b.png ├── images │ ├── hot.png │ ├── arrow.png │ ├── cloud.png │ ├── logo.png │ ├── quote.png │ ├── arrow@2x.png │ ├── banner.png │ ├── logo@2x.png │ ├── photo-1.jpg │ ├── photo-10.jpg │ ├── photo-2.jpg │ ├── photo-3.jpg │ ├── photo-4.jpg │ ├── photo-5.jpg │ ├── photo-7.jpg │ ├── photo-8.jpg │ ├── photo-9.jpg │ ├── quote@2x.png │ ├── thumb-1.jpg │ ├── thumb-2.jpg │ ├── thumb-3.jpg │ ├── thumb-4.jpg │ ├── thumb-5.jpg │ ├── thumb-6.jpg │ ├── thumb-7.jpg │ ├── thumb-8.jpg │ ├── thumb-9.jpg │ ├── arrow-down.jpg │ ├── arrow-down.png │ ├── arrow-gray.png │ ├── banner(0).png │ ├── banner@2x.png │ ├── icon-phone.png │ ├── icon-wind.png │ ├── photo-1@2x.jpg │ ├── photo-2@2x.jpg │ ├── photo-3@2x.jpg │ ├── photo-4@2x.jpg │ ├── photo-5@2x.jpg │ ├── photo-7@2x.jpg │ ├── photo-8@2x.jpg │ ├── photo-9@2x.jpg │ ├── thumb-1@2x.jpg │ ├── thumb-2@2x.jpg │ ├── thumb-3@2x.jpg │ ├── thumb-4@2x.jpg │ ├── thumb-5@2x.jpg │ ├── thumb-6@2x.jpg │ ├── thumb-7@2x.jpg │ ├── thumb-8@2x.jpg │ ├── thumb-9@2x.jpg │ ├── arrow-down@2x.jpg │ ├── arrow-down@2x.png │ ├── arrow-gray@2x.png │ ├── icon-compass.png │ ├── icon-envelope.png │ ├── icon-marker.png │ ├── icon-phone@2x.png │ ├── icon-wind@2x.png │ ├── icons │ │ ├── icon-7.ai │ │ ├── icon-5.svg │ │ ├── icon-7.svg │ │ ├── icon-6.svg │ │ ├── icon-12.svg │ │ ├── icon-13.svg │ │ ├── icon-8.svg │ │ └── icon-9.svg │ ├── live-camera-1.jpg │ ├── live-camera-2.jpg │ ├── live-camera-3.jpg │ ├── live-camera-4.jpg │ ├── live-camera-5.jpg │ ├── live-camera-6.jpg │ ├── live-camera-7.jpg │ ├── live-camera-8.jpg │ ├── photo-10@2x.jpg │ ├── play-button.png │ ├── icon-compass@2x.png │ ├── icon-marker@2x.png │ ├── icon-umberella.png │ ├── play-button@2x.png │ ├── arrow-left-white.png │ ├── featured-image-1.jpg │ ├── featured-image-2.jpg │ ├── featured-image-3.jpg │ ├── icon-envelope@2x.png │ ├── icon-umberella@2x.png │ ├── live-camera-1@2x.jpg │ ├── live-camera-2@2x.jpg │ ├── live-camera-3@2x.jpg │ ├── live-camera-4@2x.jpg │ ├── live-camera-5@2x.jpg │ ├── live-camera-6@2x.jpg │ ├── live-camera-7@2x.jpg │ ├── live-camera-8@2x.jpg │ ├── arrow-left-white@2x.png │ ├── featured-image-1@2x.jpg │ ├── featured-image-2@2x.jpg │ └── featured-image-3@2x.jpg ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff └── js │ ├── min │ └── app-min.js │ ├── app.js │ └── ie-support │ └── html5.js ├── .gitignore ├── staticfiles ├── images │ ├── hot.png │ ├── arrow.png │ ├── cloud.png │ ├── logo.png │ ├── quote.png │ ├── arrow@2x.png │ ├── banner.png │ ├── logo@2x.png │ ├── photo-1.jpg │ ├── photo-10.jpg │ ├── photo-2.jpg │ ├── photo-3.jpg │ ├── photo-4.jpg │ ├── photo-5.jpg │ ├── photo-7.jpg │ ├── photo-8.jpg │ ├── photo-9.jpg │ ├── quote@2x.png │ ├── thumb-1.jpg │ ├── thumb-2.jpg │ ├── thumb-3.jpg │ ├── thumb-4.jpg │ ├── thumb-5.jpg │ ├── thumb-6.jpg │ ├── thumb-7.jpg │ ├── thumb-8.jpg │ ├── thumb-9.jpg │ ├── arrow-down.jpg │ ├── arrow-down.png │ ├── arrow-gray.png │ ├── banner@2x.png │ ├── icon-phone.png │ ├── icon-wind.png │ ├── photo-1@2x.jpg │ ├── photo-2@2x.jpg │ ├── photo-3@2x.jpg │ ├── photo-4@2x.jpg │ ├── photo-5@2x.jpg │ ├── photo-7@2x.jpg │ ├── photo-8@2x.jpg │ ├── photo-9@2x.jpg │ ├── thumb-1@2x.jpg │ ├── thumb-2@2x.jpg │ ├── thumb-3@2x.jpg │ ├── thumb-4@2x.jpg │ ├── thumb-5@2x.jpg │ ├── thumb-6@2x.jpg │ ├── thumb-7@2x.jpg │ ├── thumb-8@2x.jpg │ ├── thumb-9@2x.jpg │ ├── arrow-down@2x.jpg │ ├── arrow-down@2x.png │ ├── arrow-gray@2x.png │ ├── icon-compass.png │ ├── icon-envelope.png │ ├── icon-marker.png │ ├── icon-phone@2x.png │ ├── icon-wind@2x.png │ ├── icons │ │ ├── icon-7.ai │ │ ├── icon-5.svg │ │ ├── icon-7.svg │ │ ├── icon-6.svg │ │ ├── icon-12.svg │ │ ├── icon-13.svg │ │ ├── icon-8.svg │ │ └── icon-9.svg │ ├── live-camera-1.jpg │ ├── live-camera-2.jpg │ ├── live-camera-3.jpg │ ├── live-camera-4.jpg │ ├── live-camera-5.jpg │ ├── live-camera-6.jpg │ ├── live-camera-7.jpg │ ├── live-camera-8.jpg │ ├── photo-10@2x.jpg │ ├── play-button.png │ ├── icon-compass@2x.png │ ├── icon-marker@2x.png │ ├── icon-umberella.png │ ├── play-button@2x.png │ ├── arrow-left-white.png │ ├── featured-image-1.jpg │ ├── featured-image-2.jpg │ ├── featured-image-3.jpg │ ├── icon-envelope@2x.png │ ├── icon-umberella@2x.png │ ├── live-camera-1@2x.jpg │ ├── live-camera-2@2x.jpg │ ├── live-camera-3@2x.jpg │ ├── live-camera-4@2x.jpg │ ├── live-camera-5@2x.jpg │ ├── live-camera-6@2x.jpg │ ├── live-camera-7@2x.jpg │ ├── live-camera-8@2x.jpg │ ├── arrow-left-white@2x.png │ ├── featured-image-1@2x.jpg │ ├── featured-image-2@2x.jpg │ └── featured-image-3@2x.jpg ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff ├── admin │ ├── fonts │ │ ├── Roboto-Bold-webfont.woff │ │ ├── Roboto-Light-webfont.woff │ │ ├── Roboto-Regular-webfont.woff │ │ └── README.txt │ ├── img │ │ ├── tooltag-arrowright.svg │ │ ├── README.txt │ │ ├── icon-addlink.svg │ │ ├── tooltag-add.svg │ │ ├── icon-changelink.svg │ │ ├── icon-deletelink.svg │ │ ├── icon-yes.svg │ │ ├── search.svg │ │ ├── icon-alert.svg │ │ ├── icon-no.svg │ │ ├── inline-delete.svg │ │ ├── icon-viewlink.svg │ │ ├── icon-unknown.svg │ │ ├── icon-unknown-alt.svg │ │ ├── icon-clock.svg │ │ ├── gis │ │ │ ├── move_vertex_on.svg │ │ │ └── move_vertex_off.svg │ │ ├── icon-calendar.svg │ │ ├── calendar-icons.svg │ │ ├── LICENSE │ │ ├── sorting-icons.svg │ │ └── selector-icons.svg │ ├── js │ │ ├── prepopulate.min.js │ │ ├── jquery.init.js │ │ ├── cancel.js │ │ ├── prepopulate_init.js │ │ ├── popup_response.js │ │ ├── vendor │ │ │ ├── select2 │ │ │ │ ├── i18n │ │ │ │ │ ├── zh-TW.js │ │ │ │ │ ├── zh-CN.js │ │ │ │ │ ├── az.js │ │ │ │ │ ├── ja.js │ │ │ │ │ ├── ko.js │ │ │ │ │ ├── vi.js │ │ │ │ │ ├── id.js │ │ │ │ │ ├── ar.js │ │ │ │ │ ├── nb.js │ │ │ │ │ ├── tk.js │ │ │ │ │ ├── is.js │ │ │ │ │ ├── tr.js │ │ │ │ │ ├── et.js │ │ │ │ │ ├── th.js │ │ │ │ │ ├── fi.js │ │ │ │ │ ├── km.js │ │ │ │ │ ├── sv.js │ │ │ │ │ ├── ms.js │ │ │ │ │ ├── bg.js │ │ │ │ │ ├── hu.js │ │ │ │ │ ├── da.js │ │ │ │ │ ├── ka.js │ │ │ │ │ ├── en.js │ │ │ │ │ ├── he.js │ │ │ │ │ ├── hy.js │ │ │ │ │ ├── hi.js │ │ │ │ │ ├── hr.js │ │ │ │ │ ├── fa.js │ │ │ │ │ ├── af.js │ │ │ │ │ ├── eu.js │ │ │ │ │ ├── mk.js │ │ │ │ │ ├── de.js │ │ │ │ │ ├── pt-BR.js │ │ │ │ │ ├── lv.js │ │ │ │ │ ├── pt.js │ │ │ │ │ ├── bn.js │ │ │ │ │ ├── ca.js │ │ │ │ │ ├── ps.js │ │ │ │ │ ├── sq.js │ │ │ │ │ ├── fr.js │ │ │ │ │ ├── it.js │ │ │ │ │ ├── gl.js │ │ │ │ │ ├── ne.js │ │ │ │ │ ├── sl.js │ │ │ │ │ ├── es.js │ │ │ │ │ ├── nl.js │ │ │ │ │ ├── ro.js │ │ │ │ │ ├── lt.js │ │ │ │ │ ├── pl.js │ │ │ │ │ ├── sr.js │ │ │ │ │ ├── bs.js │ │ │ │ │ ├── el.js │ │ │ │ │ ├── sr-Cyrl.js │ │ │ │ │ ├── uk.js │ │ │ │ │ ├── ru.js │ │ │ │ │ ├── hsb.js │ │ │ │ │ ├── dsb.js │ │ │ │ │ ├── cs.js │ │ │ │ │ └── sk.js │ │ │ │ └── LICENSE.md │ │ │ ├── jquery │ │ │ │ └── LICENSE.txt │ │ │ └── xregexp │ │ │ │ └── LICENSE.txt │ │ ├── change_form.js │ │ ├── collapse.min.js │ │ ├── autocomplete.js │ │ ├── prepopulate.js │ │ ├── collapse.js │ │ └── actions.min.js │ └── css │ │ ├── fonts.css │ │ ├── dashboard.css │ │ ├── vendor │ │ └── select2 │ │ │ └── LICENSE-SELECT2.md │ │ ├── login.css │ │ └── responsive_rtl.css └── js │ ├── min │ └── app-min.js │ ├── app.js │ └── ie-support │ └── html5.js ├── templates ├── weather_api │ └── home.html └── base.html ├── requirements.txt ├── manage.py └── README.md /WeatherBug/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /weather_api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.8.1 2 | -------------------------------------------------------------------------------- /weather_api/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /weather_api/key.py: -------------------------------------------------------------------------------- 1 | api_key = "45b01a7f6a9893cc9370a6fd91f105fb" -------------------------------------------------------------------------------- /weather_api/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/db.sqlite3 -------------------------------------------------------------------------------- /weather_api/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /static/ss/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/ss/a.png -------------------------------------------------------------------------------- /static/ss/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/ss/b.png -------------------------------------------------------------------------------- /static/images/hot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/hot.png -------------------------------------------------------------------------------- /static/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow.png -------------------------------------------------------------------------------- /static/images/cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/cloud.png -------------------------------------------------------------------------------- /static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/logo.png -------------------------------------------------------------------------------- /static/images/quote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/quote.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### Django ### 2 | *.log 3 | *.pot 4 | *.pyc 5 | __pycache__/ 6 | local_settings.py 7 | env 8 | .env 9 | db.sqlite3 -------------------------------------------------------------------------------- /static/images/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow@2x.png -------------------------------------------------------------------------------- /static/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/banner.png -------------------------------------------------------------------------------- /static/images/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/logo@2x.png -------------------------------------------------------------------------------- /static/images/photo-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-1.jpg -------------------------------------------------------------------------------- /static/images/photo-10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-10.jpg -------------------------------------------------------------------------------- /static/images/photo-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-2.jpg -------------------------------------------------------------------------------- /static/images/photo-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-3.jpg -------------------------------------------------------------------------------- /static/images/photo-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-4.jpg -------------------------------------------------------------------------------- /static/images/photo-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-5.jpg -------------------------------------------------------------------------------- /static/images/photo-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-7.jpg -------------------------------------------------------------------------------- /static/images/photo-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-8.jpg -------------------------------------------------------------------------------- /static/images/photo-9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-9.jpg -------------------------------------------------------------------------------- /static/images/quote@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/quote@2x.png -------------------------------------------------------------------------------- /static/images/thumb-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-1.jpg -------------------------------------------------------------------------------- /static/images/thumb-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-2.jpg -------------------------------------------------------------------------------- /static/images/thumb-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-3.jpg -------------------------------------------------------------------------------- /static/images/thumb-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-4.jpg -------------------------------------------------------------------------------- /static/images/thumb-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-5.jpg -------------------------------------------------------------------------------- /static/images/thumb-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-6.jpg -------------------------------------------------------------------------------- /static/images/thumb-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-7.jpg -------------------------------------------------------------------------------- /static/images/thumb-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-8.jpg -------------------------------------------------------------------------------- /static/images/thumb-9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-9.jpg -------------------------------------------------------------------------------- /staticfiles/images/hot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/hot.png -------------------------------------------------------------------------------- /static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /static/images/arrow-down.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow-down.jpg -------------------------------------------------------------------------------- /static/images/arrow-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow-down.png -------------------------------------------------------------------------------- /static/images/arrow-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow-gray.png -------------------------------------------------------------------------------- /static/images/banner(0).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/banner(0).png -------------------------------------------------------------------------------- /static/images/banner@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/banner@2x.png -------------------------------------------------------------------------------- /static/images/icon-phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-phone.png -------------------------------------------------------------------------------- /static/images/icon-wind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-wind.png -------------------------------------------------------------------------------- /static/images/photo-1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-1@2x.jpg -------------------------------------------------------------------------------- /static/images/photo-2@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-2@2x.jpg -------------------------------------------------------------------------------- /static/images/photo-3@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-3@2x.jpg -------------------------------------------------------------------------------- /static/images/photo-4@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-4@2x.jpg -------------------------------------------------------------------------------- /static/images/photo-5@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-5@2x.jpg -------------------------------------------------------------------------------- /static/images/photo-7@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-7@2x.jpg -------------------------------------------------------------------------------- /static/images/photo-8@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-8@2x.jpg -------------------------------------------------------------------------------- /static/images/photo-9@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-9@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-1@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-2@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-2@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-3@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-3@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-4@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-4@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-5@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-5@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-6@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-6@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-7@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-7@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-8@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-8@2x.jpg -------------------------------------------------------------------------------- /static/images/thumb-9@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/thumb-9@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow.png -------------------------------------------------------------------------------- /staticfiles/images/cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/cloud.png -------------------------------------------------------------------------------- /staticfiles/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/logo.png -------------------------------------------------------------------------------- /staticfiles/images/quote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/quote.png -------------------------------------------------------------------------------- /static/images/arrow-down@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow-down@2x.jpg -------------------------------------------------------------------------------- /static/images/arrow-down@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow-down@2x.png -------------------------------------------------------------------------------- /static/images/arrow-gray@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow-gray@2x.png -------------------------------------------------------------------------------- /static/images/icon-compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-compass.png -------------------------------------------------------------------------------- /static/images/icon-envelope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-envelope.png -------------------------------------------------------------------------------- /static/images/icon-marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-marker.png -------------------------------------------------------------------------------- /static/images/icon-phone@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-phone@2x.png -------------------------------------------------------------------------------- /static/images/icon-wind@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-wind@2x.png -------------------------------------------------------------------------------- /static/images/icons/icon-7.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icons/icon-7.ai -------------------------------------------------------------------------------- /static/images/live-camera-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-1.jpg -------------------------------------------------------------------------------- /static/images/live-camera-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-2.jpg -------------------------------------------------------------------------------- /static/images/live-camera-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-3.jpg -------------------------------------------------------------------------------- /static/images/live-camera-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-4.jpg -------------------------------------------------------------------------------- /static/images/live-camera-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-5.jpg -------------------------------------------------------------------------------- /static/images/live-camera-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-6.jpg -------------------------------------------------------------------------------- /static/images/live-camera-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-7.jpg -------------------------------------------------------------------------------- /static/images/live-camera-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-8.jpg -------------------------------------------------------------------------------- /static/images/photo-10@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/photo-10@2x.jpg -------------------------------------------------------------------------------- /static/images/play-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/play-button.png -------------------------------------------------------------------------------- /staticfiles/images/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow@2x.png -------------------------------------------------------------------------------- /staticfiles/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/banner.png -------------------------------------------------------------------------------- /staticfiles/images/logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/logo@2x.png -------------------------------------------------------------------------------- /staticfiles/images/photo-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-1.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-10.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-2.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-3.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-4.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-5.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-7.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-8.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-9.jpg -------------------------------------------------------------------------------- /staticfiles/images/quote@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/quote@2x.png -------------------------------------------------------------------------------- /staticfiles/images/thumb-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-1.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-2.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-3.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-4.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-5.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-6.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-7.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-8.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-9.jpg -------------------------------------------------------------------------------- /weather_api/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class WeatherApiConfig(AppConfig): 5 | name = 'weather_api' 6 | -------------------------------------------------------------------------------- /static/images/icon-compass@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-compass@2x.png -------------------------------------------------------------------------------- /static/images/icon-marker@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-marker@2x.png -------------------------------------------------------------------------------- /static/images/icon-umberella.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-umberella.png -------------------------------------------------------------------------------- /static/images/play-button@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/play-button@2x.png -------------------------------------------------------------------------------- /staticfiles/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /staticfiles/images/arrow-down.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow-down.jpg -------------------------------------------------------------------------------- /staticfiles/images/arrow-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow-down.png -------------------------------------------------------------------------------- /staticfiles/images/arrow-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow-gray.png -------------------------------------------------------------------------------- /staticfiles/images/banner@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/banner@2x.png -------------------------------------------------------------------------------- /staticfiles/images/icon-phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-phone.png -------------------------------------------------------------------------------- /staticfiles/images/icon-wind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-wind.png -------------------------------------------------------------------------------- /staticfiles/images/photo-1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-1@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-2@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-2@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-3@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-3@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-4@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-4@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-5@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-5@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-7@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-7@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-8@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-8@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-9@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-9@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-1@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-2@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-2@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-3@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-3@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-4@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-4@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-5@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-5@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-6@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-6@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-7@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-7@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-8@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-8@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/thumb-9@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/thumb-9@2x.jpg -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/images/arrow-left-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow-left-white.png -------------------------------------------------------------------------------- /static/images/featured-image-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/featured-image-1.jpg -------------------------------------------------------------------------------- /static/images/featured-image-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/featured-image-2.jpg -------------------------------------------------------------------------------- /static/images/featured-image-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/featured-image-3.jpg -------------------------------------------------------------------------------- /static/images/icon-envelope@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-envelope@2x.png -------------------------------------------------------------------------------- /static/images/icon-umberella@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/icon-umberella@2x.png -------------------------------------------------------------------------------- /static/images/live-camera-1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-1@2x.jpg -------------------------------------------------------------------------------- /static/images/live-camera-2@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-2@2x.jpg -------------------------------------------------------------------------------- /static/images/live-camera-3@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-3@2x.jpg -------------------------------------------------------------------------------- /static/images/live-camera-4@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-4@2x.jpg -------------------------------------------------------------------------------- /static/images/live-camera-5@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-5@2x.jpg -------------------------------------------------------------------------------- /static/images/live-camera-6@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-6@2x.jpg -------------------------------------------------------------------------------- /static/images/live-camera-7@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-7@2x.jpg -------------------------------------------------------------------------------- /static/images/live-camera-8@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/live-camera-8@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/arrow-down@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow-down@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/arrow-down@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow-down@2x.png -------------------------------------------------------------------------------- /staticfiles/images/arrow-gray@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow-gray@2x.png -------------------------------------------------------------------------------- /staticfiles/images/icon-compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-compass.png -------------------------------------------------------------------------------- /staticfiles/images/icon-envelope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-envelope.png -------------------------------------------------------------------------------- /staticfiles/images/icon-marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-marker.png -------------------------------------------------------------------------------- /staticfiles/images/icon-phone@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-phone@2x.png -------------------------------------------------------------------------------- /staticfiles/images/icon-wind@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-wind@2x.png -------------------------------------------------------------------------------- /staticfiles/images/icons/icon-7.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icons/icon-7.ai -------------------------------------------------------------------------------- /staticfiles/images/live-camera-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-1.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-2.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-3.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-4.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-5.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-6.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-7.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-8.jpg -------------------------------------------------------------------------------- /staticfiles/images/photo-10@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/photo-10@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/play-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/play-button.png -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/images/arrow-left-white@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/arrow-left-white@2x.png -------------------------------------------------------------------------------- /static/images/featured-image-1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/featured-image-1@2x.jpg -------------------------------------------------------------------------------- /static/images/featured-image-2@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/featured-image-2@2x.jpg -------------------------------------------------------------------------------- /static/images/featured-image-3@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/static/images/featured-image-3@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/icon-compass@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-compass@2x.png -------------------------------------------------------------------------------- /staticfiles/images/icon-marker@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-marker@2x.png -------------------------------------------------------------------------------- /staticfiles/images/icon-umberella.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-umberella.png -------------------------------------------------------------------------------- /staticfiles/images/play-button@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/play-button@2x.png -------------------------------------------------------------------------------- /staticfiles/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /staticfiles/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /staticfiles/images/arrow-left-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow-left-white.png -------------------------------------------------------------------------------- /staticfiles/images/featured-image-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/featured-image-1.jpg -------------------------------------------------------------------------------- /staticfiles/images/featured-image-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/featured-image-2.jpg -------------------------------------------------------------------------------- /staticfiles/images/featured-image-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/featured-image-3.jpg -------------------------------------------------------------------------------- /staticfiles/images/icon-envelope@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-envelope@2x.png -------------------------------------------------------------------------------- /staticfiles/images/icon-umberella@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/icon-umberella@2x.png -------------------------------------------------------------------------------- /staticfiles/images/live-camera-1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-1@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-2@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-2@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-3@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-3@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-4@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-4@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-5@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-5@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-6@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-6@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-7@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-7@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/live-camera-8@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/live-camera-8@2x.jpg -------------------------------------------------------------------------------- /WeatherBug/__pycache__/urls.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/WeatherBug/__pycache__/urls.cpython-38.pyc -------------------------------------------------------------------------------- /WeatherBug/__pycache__/wsgi.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/WeatherBug/__pycache__/wsgi.cpython-38.pyc -------------------------------------------------------------------------------- /staticfiles/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /staticfiles/images/arrow-left-white@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/arrow-left-white@2x.png -------------------------------------------------------------------------------- /staticfiles/images/featured-image-1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/featured-image-1@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/featured-image-2@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/featured-image-2@2x.jpg -------------------------------------------------------------------------------- /staticfiles/images/featured-image-3@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/images/featured-image-3@2x.jpg -------------------------------------------------------------------------------- /WeatherBug/__pycache__/__init__.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/WeatherBug/__pycache__/__init__.cpython-38.pyc -------------------------------------------------------------------------------- /WeatherBug/__pycache__/settings.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/WeatherBug/__pycache__/settings.cpython-38.pyc -------------------------------------------------------------------------------- /staticfiles/admin/fonts/Roboto-Bold-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/admin/fonts/Roboto-Bold-webfont.woff -------------------------------------------------------------------------------- /staticfiles/admin/fonts/Roboto-Light-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/admin/fonts/Roboto-Light-webfont.woff -------------------------------------------------------------------------------- /staticfiles/admin/fonts/Roboto-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IamOmaR22/Weather_App-with-Python-Django/HEAD/staticfiles/admin/fonts/Roboto-Regular-webfont.woff -------------------------------------------------------------------------------- /templates/weather_api/home.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | 3 | {% block title %} WeatherBug {% endblock title %} 4 | 5 | {% block content %} 6 | {% endblock content %} 7 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.2.10 2 | certifi==2020.6.20 3 | chardet==3.0.4 4 | Django==3.1.13 5 | idna==2.10 6 | pytz==2020.1 7 | requests==2.24.0 8 | sqlparse==0.3.1 9 | urllib3==1.26.5 10 | -------------------------------------------------------------------------------- /weather_api/urls.py: -------------------------------------------------------------------------------- 1 | from django.urls import path 2 | from . import views 3 | 4 | urlpatterns = [ 5 | path('', views.index, name="home"), 6 | path("result", views.result, name="result"), 7 | # path('social_links', views.social_links), 8 | ] 9 | -------------------------------------------------------------------------------- /staticfiles/admin/fonts/README.txt: -------------------------------------------------------------------------------- 1 | Roboto webfont source: https://www.google.com/fonts/specimen/Roboto 2 | WOFF files extracted using https://github.com/majodev/google-webfonts-helper 3 | Weights used in this project: Light (300), Regular (400), Bold (700) 4 | -------------------------------------------------------------------------------- /staticfiles/admin/img/tooltag-arrowright.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/img/README.txt: -------------------------------------------------------------------------------- 1 | All icons are taken from Font Awesome (http://fontawesome.io/) project. 2 | The Font Awesome font is licensed under the SIL OFL 1.1: 3 | - https://scripts.sil.org/OFL 4 | 5 | SVG icons source: https://github.com/encharm/Font-Awesome-SVG-PNG 6 | Font-Awesome-SVG-PNG is licensed under the MIT license (see file license 7 | in current folder). 8 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-addlink.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/img/tooltag-add.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /static/js/min/app-min.js: -------------------------------------------------------------------------------- 1 | !function($,n,a){$(n).ready(function(){$(".mobile-navigation").append($(".main-navigation .menu").clone()),$(".menu-toggle").click(function(){$(".mobile-navigation").slideToggle()});var n=$(".map"),a=n.data("latitude"),o=n.data("longitude");n.length&&n.gmap3({map:{options:{center:[a,o],zoom:15,scrollwheel:!1}},marker:{latLng:[a,o]}})}),$(a).load(function(){})}(jQuery,document,window); -------------------------------------------------------------------------------- /weather_api/migrations/0002_delete_social.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 3.0.7 on 2020-08-10 03:45 2 | 3 | from django.db import migrations 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('weather_api', '0001_initial'), 10 | ] 11 | 12 | operations = [ 13 | migrations.DeleteModel( 14 | name='Social', 15 | ), 16 | ] 17 | -------------------------------------------------------------------------------- /staticfiles/js/min/app-min.js: -------------------------------------------------------------------------------- 1 | !function($,n,a){$(n).ready(function(){$(".mobile-navigation").append($(".main-navigation .menu").clone()),$(".menu-toggle").click(function(){$(".mobile-navigation").slideToggle()});var n=$(".map"),a=n.data("latitude"),o=n.data("longitude");n.length&&n.gmap3({map:{options:{center:[a,o],zoom:15,scrollwheel:!1}},marker:{latLng:[a,o]}})}),$(a).load(function(){})}(jQuery,document,window); -------------------------------------------------------------------------------- /staticfiles/admin/js/prepopulate.min.js: -------------------------------------------------------------------------------- 1 | (function(b){b.fn.prepopulate=function(d,f,g){return this.each(function(){var a=b(this),h=function(){if(!a.data("_changed")){var e=[];b.each(d,function(a,c){c=b(c);0 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/js/jquery.init.js: -------------------------------------------------------------------------------- 1 | /*global django:true, jQuery:false*/ 2 | /* Puts the included jQuery into our own namespace using noConflict and passing 3 | * it 'true'. This ensures that the included jQuery doesn't pollute the global 4 | * namespace (i.e. this preserves pre-existing values for both window.$ and 5 | * window.jQuery). 6 | */ 7 | var django = django || {}; 8 | django.jQuery = jQuery.noConflict(true); 9 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-deletelink.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-yes.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /WeatherBug/asgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | ASGI config for WeatherBug project. 3 | 4 | It exposes the ASGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.asgi import get_asgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WeatherBug.settings') 15 | 16 | application = get_asgi_application() 17 | -------------------------------------------------------------------------------- /WeatherBug/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for WeatherBug project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WeatherBug.settings') 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /staticfiles/admin/img/search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/js/cancel.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 'use strict'; 3 | $(function() { 4 | $('.cancel-link').on('click', function(e) { 5 | e.preventDefault(); 6 | if (window.location.search.indexOf('&_popup=1') === -1) { 7 | window.history.back(); // Go back if not a popup. 8 | } else { 9 | window.close(); // Otherwise, close the popup. 10 | } 11 | }); 12 | }); 13 | })(django.jQuery); 14 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-alert.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/css/fonts.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Roboto'; 3 | src: url('../fonts/Roboto-Bold-webfont.woff'); 4 | font-weight: 700; 5 | font-style: normal; 6 | } 7 | 8 | @font-face { 9 | font-family: 'Roboto'; 10 | src: url('../fonts/Roboto-Regular-webfont.woff'); 11 | font-weight: 400; 12 | font-style: normal; 13 | } 14 | 15 | @font-face { 16 | font-family: 'Roboto'; 17 | src: url('../fonts/Roboto-Light-webfont.woff'); 18 | font-weight: 300; 19 | font-style: normal; 20 | } 21 | -------------------------------------------------------------------------------- /staticfiles/admin/css/dashboard.css: -------------------------------------------------------------------------------- 1 | /* DASHBOARD */ 2 | 3 | .dashboard .module table th { 4 | width: 100%; 5 | } 6 | 7 | .dashboard .module table td { 8 | white-space: nowrap; 9 | } 10 | 11 | .dashboard .module table td a { 12 | display: block; 13 | padding-right: .6em; 14 | } 15 | 16 | /* RECENT ACTIONS MODULE */ 17 | 18 | .module ul.actionlist { 19 | margin-left: 0; 20 | } 21 | 22 | ul.actionlist li { 23 | list-style-type: none; 24 | overflow: hidden; 25 | text-overflow: ellipsis; 26 | -o-text-overflow: ellipsis; 27 | } 28 | -------------------------------------------------------------------------------- /staticfiles/admin/js/prepopulate_init.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 'use strict'; 3 | var fields = $('#django-admin-prepopulated-fields-constants').data('prepopulatedFields'); 4 | $.each(fields, function(index, field) { 5 | $('.empty-form .form-row .field-' + field.name + ', .empty-form.form-row .field-' + field.name).addClass('prepopulated_field'); 6 | $(field.id).data('dependency_list', field.dependency_list).prepopulate( 7 | field.dependency_ids, field.maxLength, field.allowUnicode 8 | ); 9 | }); 10 | })(django.jQuery); 11 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-no.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/img/inline-delete.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-viewlink.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/js/popup_response.js: -------------------------------------------------------------------------------- 1 | /*global opener */ 2 | (function() { 3 | 'use strict'; 4 | var initData = JSON.parse(document.getElementById('django-admin-popup-response-constants').dataset.popupResponse); 5 | switch(initData.action) { 6 | case 'change': 7 | opener.dismissChangeRelatedObjectPopup(window, initData.value, initData.obj, initData.new_value); 8 | break; 9 | case 'delete': 10 | opener.dismissDeleteRelatedObjectPopup(window, initData.value); 11 | break; 12 | default: 13 | opener.dismissAddRelatedObjectPopup(window, initData.value, initData.obj); 14 | break; 15 | } 16 | })(); 17 | -------------------------------------------------------------------------------- /weather_api/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | # Create your models here. 4 | 5 | # class Social(models.Model): 6 | # website_url = models.CharField(max_length=255, null=True, blank=True) 7 | # facebook_url = models.CharField(max_length=255, null=True, blank=True) 8 | # instagram_url = models.CharField(max_length=255, null=True, blank=True) 9 | # twitter_url = models.CharField(max_length=255, null=True, blank=True) 10 | # github_url = models.CharField(max_length=255, null=True, blank=True) 11 | # linkedin_url = models.CharField(max_length=255, null=True, blank=True) 12 | # 13 | # def __str__(self): 14 | # return self.website_url 15 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-unknown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-unknown-alt.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/zh-TW.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-TW",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="請刪掉"+t+"個字元";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="請再輸入"+t+"個字元";return n},loadingMore:function(){return"載入中…"},maximumSelected:function(e){var t="你只能選擇最多"+e.maximum+"項";return t},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"},removeAllItems:function(){return"刪除所有項目"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | """Django's command-line utility for administrative tasks.""" 3 | import os 4 | import sys 5 | 6 | 7 | def main(): 8 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WeatherBug.settings') 9 | try: 10 | from django.core.management import execute_from_command_line 11 | except ImportError as exc: 12 | raise ImportError( 13 | "Couldn't import Django. Are you sure it's installed and " 14 | "available on your PYTHONPATH environment variable? Did you " 15 | "forget to activate a virtual environment?" 16 | ) from exc 17 | execute_from_command_line(sys.argv) 18 | 19 | 20 | if __name__ == '__main__': 21 | main() 22 | -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-clock.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/zh-CN.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="请删除"+t+"个字符";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="请再输入至少"+t+"个字符";return n},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(e){var t="最多只能选择"+e.maximum+"个项目";return t},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"},removeAllItems:function(){return"删除所有项目"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/az.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/az",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum;return t+" simvol silin"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(e){return"Sadəcə "+e.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"},removeAllItems:function(){return"Bütün elementləri sil"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ja.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" 文字を削除してください";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="少なくとも "+t+" 文字を入力してください";return n},loadingMore:function(){return"読み込み中…"},maximumSelected:function(e){var t=e.maximum+" 件しか選択できません";return t},noResults:function(){return"対象が見つかりません"},searching:function(){return"検索しています…"},removeAllItems:function(){return"すべてのアイテムを削除"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ko.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ko",[],function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="너무 깁니다. "+t+" 글자 지워주세요.";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="너무 짧습니다. "+t+" 글자 더 입력해주세요.";return n},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(e){var t="최대 "+e.maximum+"개까지만 선택 가능합니다.";return t},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"},removeAllItems:function(){return"모든 항목 삭제"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/vi.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/vi",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vui lòng xóa bớt "+t+" ký tự";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vui lòng nhập thêm từ "+t+" ký tự trở lên";return n},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(e){var t="Chỉ có thể chọn được "+e.maximum+" lựa chọn";return t},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"},removeAllItems:function(){return"Xóa tất cả các mục"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/change_form.js: -------------------------------------------------------------------------------- 1 | /*global showAddAnotherPopup, showRelatedObjectLookupPopup showRelatedObjectPopup updateRelatedObjectLinks*/ 2 | 3 | (function($) { 4 | 'use strict'; 5 | $(document).ready(function() { 6 | var modelName = $('#django-admin-form-add-constants').data('modelName'); 7 | $('body').on('click', '.add-another', function(e) { 8 | e.preventDefault(); 9 | var event = $.Event('django:add-another-related'); 10 | $(this).trigger(event); 11 | if (!event.isDefaultPrevented()) { 12 | showAddAnotherPopup(this); 13 | } 14 | }); 15 | 16 | if (modelName) { 17 | $('form#' + modelName + '_form :input:visible:enabled:first').focus(); 18 | } 19 | }); 20 | })(django.jQuery); 21 | -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/id.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/id",[],function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Hapuskan "+t+" huruf"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Masukkan "+t+" huruf lagi"},loadingMore:function(){return"Mengambil data…"},maximumSelected:function(e){return"Anda hanya dapat memilih "+e.maximum+" pilihan"},noResults:function(){return"Tidak ada data yang sesuai"},searching:function(){return"Mencari…"},removeAllItems:function(){return"Hapus semua item"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ar.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ar",[],function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(e){var t=e.input.length-e.maximum;return"الرجاء حذف "+t+" عناصر"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"الرجاء إضافة "+t+" عناصر"},loadingMore:function(){return"جاري تحميل نتائج إضافية..."},maximumSelected:function(e){return"تستطيع إختيار "+e.maximum+" بنود فقط"},noResults:function(){return"لم يتم العثور على أي نتائج"},searching:function(){return"جاري البحث…"},removeAllItems:function(){return"قم بإزالة كل العناصر"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/nb.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nb",[],function(){return{errorLoading:function(){return"Kunne ikke hente resultater."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Vennligst fjern "+t+" tegn"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Vennligst skriv inn "+t+" tegn til"},loadingMore:function(){return"Laster flere resultater…"},maximumSelected:function(e){return"Du kan velge maks "+e.maximum+" elementer"},noResults:function(){return"Ingen treff"},searching:function(){return"Søker…"},removeAllItems:function(){return"Fjern alle elementer"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/tk.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/tk",[],function(){return{errorLoading:function(){return"Netije ýüklenmedi."},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" harp bozuň.";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Ýene-de iň az "+t+" harp ýazyň.";return n},loadingMore:function(){return"Köpräk netije görkezilýär…"},maximumSelected:function(e){var t="Diňe "+e.maximum+" sanysyny saýlaň.";return t},noResults:function(){return"Netije tapylmady."},searching:function(){return"Gözlenýär…"},removeAllItems:function(){return"Remove all items"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/is.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/is",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vinsamlegast styttið texta um "+t+" staf";return t<=1?n:n+"i"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vinsamlegast skrifið "+t+" staf";return t>1&&(n+="i"),n+=" í viðbót",n},loadingMore:function(){return"Sæki fleiri niðurstöður…"},maximumSelected:function(e){return"Þú getur aðeins valið "+e.maximum+" atriði"},noResults:function(){return"Ekkert fannst"},searching:function(){return"Leita…"},removeAllItems:function(){return"Fjarlægðu öll atriði"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/tr.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/tr",[],function(){return{errorLoading:function(){return"Sonuç yüklenemedi"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" karakter daha girmelisiniz";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="En az "+t+" karakter daha girmelisiniz";return n},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(e){var t="Sadece "+e.maximum+" seçim yapabilirsiniz";return t},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"},removeAllItems:function(){return"Tüm öğeleri kaldır"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/et.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" vähem",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Sisesta "+t+" täht";return t!=1&&(n+="e"),n+=" rohkem",n},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(e){var t="Saad vaid "+e.maximum+" tulemus";return e.maximum==1?t+="e":t+="t",t+=" valida",t},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"},removeAllItems:function(){return"Eemalda kõik esemed"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/th.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/th",[],function(){return{errorLoading:function(){return"ไม่สามารถค้นข้อมูลได้"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="โปรดลบออก "+t+" ตัวอักษร";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="โปรดพิมพ์เพิ่มอีก "+t+" ตัวอักษร";return n},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(e){var t="คุณสามารถเลือกได้ไม่เกิน "+e.maximum+" รายการ";return t},noResults:function(){return"ไม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"},removeAllItems:function(){return"ลบรายการทั้งหมด"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/fi.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fi",[],function(){return{errorLoading:function(){return"Tuloksia ei saatu ladattua."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Ole hyvä ja anna "+t+" merkkiä vähemmän"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Ole hyvä ja anna "+t+" merkkiä lisää"},loadingMore:function(){return"Ladataan lisää tuloksia…"},maximumSelected:function(e){return"Voit valita ainoastaan "+e.maximum+" kpl"},noResults:function(){return"Ei tuloksia"},searching:function(){return"Haetaan…"},removeAllItems:function(){return"Poista kaikki kohteet"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/km.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/km",[],function(){return{errorLoading:function(){return"មិនអាចទាញយកទិន្នន័យ"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="សូមលុបចេញ "+t+" អក្សរ";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="សូមបញ្ចូល"+t+" អក្សរ រឺ ច្រើនជាងនេះ";return n},loadingMore:function(){return"កំពុងទាញយកទិន្នន័យបន្ថែម..."},maximumSelected:function(e){var t="អ្នកអាចជ្រើសរើសបានតែ "+e.maximum+" ជម្រើសប៉ុណ្ណោះ";return t},noResults:function(){return"មិនមានលទ្ធផល"},searching:function(){return"កំពុងស្វែងរក..."},removeAllItems:function(){return"លុបធាតុទាំងអស់"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/sv.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vänligen sudda ut "+t+" tecken";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vänligen skriv in "+t+" eller fler tecken";return n},loadingMore:function(){return"Laddar fler resultat…"},maximumSelected:function(e){var t="Du kan max välja "+e.maximum+" element";return t},noResults:function(){return"Inga träffar"},searching:function(){return"Söker…"},removeAllItems:function(){return"Ta bort alla objekt"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /static/js/app.js: -------------------------------------------------------------------------------- 1 | (function($, document, window){ 2 | 3 | $(document).ready(function(){ 4 | 5 | // Cloning main navigation for mobile menu 6 | $(".mobile-navigation").append($(".main-navigation .menu").clone()); 7 | 8 | // Mobile menu toggle 9 | $(".menu-toggle").click(function(){ 10 | $(".mobile-navigation").slideToggle(); 11 | }); 12 | 13 | var map = $(".map"); 14 | var latitude = map.data("latitude"); 15 | var longitude = map.data("longitude"); 16 | if( map.length ){ 17 | 18 | map.gmap3({ 19 | map:{ 20 | options:{ 21 | center: [latitude,longitude], 22 | zoom: 15, 23 | scrollwheel: false 24 | } 25 | }, 26 | marker:{ 27 | latLng: [latitude,longitude], 28 | } 29 | }); 30 | 31 | } 32 | }); 33 | 34 | $(window).load(function(){ 35 | 36 | }); 37 | 38 | })(jQuery, document, window); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ms.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ms",[],function(){return{errorLoading:function(){return"Keputusan tidak berjaya dimuatkan."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Sila hapuskan "+t+" aksara"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Sila masukkan "+t+" atau lebih aksara"},loadingMore:function(){return"Sedang memuatkan keputusan…"},maximumSelected:function(e){return"Anda hanya boleh memilih "+e.maximum+" pilihan"},noResults:function(){return"Tiada padanan yang ditemui"},searching:function(){return"Mencari…"},removeAllItems:function(){return"Keluarkan semua item"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/bg.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/bg",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Моля въведете с "+t+" по-малко символ";return t>1&&(n+="a"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Моля въведете още "+t+" символ";return t>1&&(n+="a"),n},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(e){var t="Можете да направите до "+e.maximum+" ";return e.maximum>1?t+="избора":t+="избор",t},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"},removeAllItems:function(){return"Премахнете всички елементи"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/hu.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hu",[],function(){return{errorLoading:function(){return"Az eredmények betöltése nem sikerült."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Túl hosszú. "+t+" karakterrel több, mint kellene."},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Túl rövid. Még "+t+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(e){return"Csak "+e.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"},removeAllItems:function(){return"Távolítson el minden elemet"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/js/app.js: -------------------------------------------------------------------------------- 1 | (function($, document, window){ 2 | 3 | $(document).ready(function(){ 4 | 5 | // Cloning main navigation for mobile menu 6 | $(".mobile-navigation").append($(".main-navigation .menu").clone()); 7 | 8 | // Mobile menu toggle 9 | $(".menu-toggle").click(function(){ 10 | $(".mobile-navigation").slideToggle(); 11 | }); 12 | 13 | var map = $(".map"); 14 | var latitude = map.data("latitude"); 15 | var longitude = map.data("longitude"); 16 | if( map.length ){ 17 | 18 | map.gmap3({ 19 | map:{ 20 | options:{ 21 | center: [latitude,longitude], 22 | zoom: 15, 23 | scrollwheel: false 24 | } 25 | }, 26 | marker:{ 27 | latLng: [latitude,longitude], 28 | } 29 | }); 30 | 31 | } 32 | }); 33 | 34 | $(window).load(function(){ 35 | 36 | }); 37 | 38 | })(jQuery, document, window); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/da.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/da",[],function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Angiv venligst "+t+" tegn mindre"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Angiv venligst "+t+" tegn mere"},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var t="Du kan kun vælge "+e.maximum+" emne";return e.maximum!=1&&(t+="r"),t},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"},removeAllItems:function(){return"Fjern alle elementer"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ka.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ka",[],function(){return{errorLoading:function(){return"მონაცემების ჩატვირთვა შეუძლებელია."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="გთხოვთ აკრიფეთ "+t+" სიმბოლოთი ნაკლები";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="გთხოვთ აკრიფეთ "+t+" სიმბოლო ან მეტი";return n},loadingMore:function(){return"მონაცემების ჩატვირთვა…"},maximumSelected:function(e){var t="თქვენ შეგიძლიათ აირჩიოთ არაუმეტეს "+e.maximum+" ელემენტი";return t},noResults:function(){return"რეზულტატი არ მოიძებნა"},searching:function(){return"ძიება…"},removeAllItems:function(){return"ამოიღე ყველა ელემენტი"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /WeatherBug/urls.py: -------------------------------------------------------------------------------- 1 | """WeatherBug URL Configuration 2 | 3 | The `urlpatterns` list routes URLs to views. For more information please see: 4 | https://docs.djangoproject.com/en/3.0/topics/http/urls/ 5 | Examples: 6 | Function views 7 | 1. Add an import: from my_app import views 8 | 2. Add a URL to urlpatterns: path('', views.home, name='home') 9 | Class-based views 10 | 1. Add an import: from other_app.views import Home 11 | 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') 12 | Including another URLconf 13 | 1. Import the include() function: from django.urls import include, path 14 | 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 15 | """ 16 | from django.contrib import admin 17 | from django.urls import path, include 18 | 19 | urlpatterns = [ 20 | path('admin/', admin.site.urls), 21 | path('', include('weather_api.urls')), 22 | ] 23 | -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/en.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Please enter "+t+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/he.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/he",[],function(){return{errorLoading:function(){return"שגיאה בטעינת התוצאות"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="נא למחוק ";return t===1?n+="תו אחד":n+=t+" תווים",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="נא להכניס ";return t===1?n+="תו אחד":n+=t+" תווים",n+=" או יותר",n},loadingMore:function(){return"טוען תוצאות נוספות…"},maximumSelected:function(e){var t="באפשרותך לבחור עד ";return e.maximum===1?t+="פריט אחד":t+=e.maximum+" פריטים",t},noResults:function(){return"לא נמצאו תוצאות"},searching:function(){return"מחפש…"},removeAllItems:function(){return"הסר את כל הפריטים"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/hy.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hy",[],function(){return{errorLoading:function(){return"Արդյունքները հնարավոր չէ բեռնել։"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Խնդրում ենք հեռացնել "+t+" նշան";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Խնդրում ենք մուտքագրել "+t+" կամ ավել նշաններ";return n},loadingMore:function(){return"Բեռնվում են նոր արդյունքներ․․․"},maximumSelected:function(e){var t="Դուք կարող եք ընտրել առավելագույնը "+e.maximum+" կետ";return t},noResults:function(){return"Արդյունքներ չեն գտնվել"},searching:function(){return"Որոնում․․․"},removeAllItems:function(){return"Հեռացնել բոլոր տարրերը"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/hi.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=t+" अक्षर को हटा दें";return t>1&&(n=t+" अक्षरों को हटा दें "),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="कृपया "+t+" या अधिक अक्षर दर्ज करें";return n},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(e){var t="आप केवल "+e.maximum+" आइटम का चयन कर सकते हैं";return t},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."},removeAllItems:function(){return"सभी वस्तुओं को हटा दें"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/hr.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hr",[],function(){function e(e){var t=" "+e+" znak";return e%10<5&&e%10>0&&(e%100<5||e%100>19)?e%10>1&&(t+="a"):t+="ova",t}return{errorLoading:function(){return"Preuzimanje nije uspjelo."},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Unesite "+e(n)},inputTooShort:function(t){var n=t.minimum-t.input.length;return"Unesite još "+e(n)},loadingMore:function(){return"Učitavanje rezultata…"},maximumSelected:function(e){return"Maksimalan broj odabranih stavki je "+e.maximum},noResults:function(){return"Nema rezultata"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Ukloni sve stavke"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/fa.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fa",[],function(){return{errorLoading:function(){return"امکان بارگذاری نتایج وجود ندارد."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="لطفاً "+t+" کاراکتر را حذف نمایید";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="لطفاً تعداد "+t+" کاراکتر یا بیشتر وارد نمایید";return n},loadingMore:function(){return"در حال بارگذاری نتایج بیشتر..."},maximumSelected:function(e){var t="شما تنها میتوانید "+e.maximum+" آیتم را انتخاب نمایید";return t},noResults:function(){return"هیچ نتیجهای یافت نشد"},searching:function(){return"در حال جستجو..."},removeAllItems:function(){return"همه موارد را حذف کنید"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/af.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/af",[],function(){return{errorLoading:function(){return"Die resultate kon nie gelaai word nie."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Verwyders asseblief "+t+" character";return t!=1&&(n+="s"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Voer asseblief "+t+" of meer karakters";return n},loadingMore:function(){return"Meer resultate word gelaai…"},maximumSelected:function(e){var t="Kies asseblief net "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"Geen resultate gevind"},searching:function(){return"Besig…"},removeAllItems:function(){return"Verwyder alle items"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/eu.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/eu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gutxiago",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Idatzi ";return t==1?n+="karaktere bat":n+=t+" karaktere",n+=" gehiago",n},loadingMore:function(){return"Emaitza gehiago kargatzen…"},maximumSelected:function(e){return e.maximum===1?"Elementu bakarra hauta dezakezu":e.maximum+" elementu hauta ditzakezu soilik"},noResults:function(){return"Ez da bat datorrenik aurkitu"},searching:function(){return"Bilatzen…"},removeAllItems:function(){return"Kendu elementu guztiak"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/mk.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/mk",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Ве молиме внесете "+e.maximum+" помалку карактер";return e.maximum!==1&&(n+="и"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Ве молиме внесете уште "+e.maximum+" карактер";return e.maximum!==1&&(n+="и"),n},loadingMore:function(){return"Вчитување резултати…"},maximumSelected:function(e){var t="Можете да изберете само "+e.maximum+" ставк";return e.maximum===1?t+="а":t+="и",t},noResults:function(){return"Нема пронајдено совпаѓања"},searching:function(){return"Пребарување…"},removeAllItems:function(){return"Отстрани ги сите предмети"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/de.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/de",[],function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Bitte "+t+" Zeichen weniger eingeben"},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Bitte "+t+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var t="Sie können nur "+e.maximum+" Eintr";return e.maximum===1?t+="ag":t+="äge",t+=" auswählen",t},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"},removeAllItems:function(){return"Entferne alle Gegenstände"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/pt-BR.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Apague "+t+" caracter";return t!=1&&(n+="es"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Digite "+t+" ou mais caracteres";return n},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(e){var t="Você só pode selecionar "+e.maximum+" ite";return e.maximum==1?t+="m":t+="ns",t},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Remover todos os itens"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/lv.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lv",[],function(){function e(e,t,n,r){return e===11?t:e%10===1?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Lūdzu ievadiet par "+n;return r+=" simbol"+e(n,"iem","u","iem"),r+" mazāk"},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Lūdzu ievadiet vēl "+n;return r+=" simbol"+e(n,"us","u","us"),r},loadingMore:function(){return"Datu ielāde…"},maximumSelected:function(t){var n="Jūs varat izvēlēties ne vairāk kā "+t.maximum;return n+=" element"+e(t.maximum,"us","u","us"),n},noResults:function(){return"Sakritību nav"},searching:function(){return"Meklēšana…"},removeAllItems:function(){return"Noņemt visus vienumus"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/pt.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pt",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor apague "+t+" ";return n+=t!=1?"caracteres":"caractere",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Introduza "+t+" ou mais caracteres";return n},loadingMore:function(){return"A carregar mais resultados…"},maximumSelected:function(e){var t="Apenas pode seleccionar "+e.maximum+" ";return t+=e.maximum!=1?"itens":"item",t},noResults:function(){return"Sem resultados"},searching:function(){return"A procurar…"},removeAllItems:function(){return"Remover todos os itens"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/bn.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/bn",[],function(){return{errorLoading:function(){return"ফলাফলগুলি লোড করা যায়নি।"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="অনুগ্রহ করে "+t+" টি অক্ষর মুছে দিন।";return t!=1&&(n="অনুগ্রহ করে "+t+" টি অক্ষর মুছে দিন।"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n=t+" টি অক্ষর অথবা অধিক অক্ষর লিখুন।";return n},loadingMore:function(){return"আরো ফলাফল লোড হচ্ছে ..."},maximumSelected:function(e){var t=e.maximum+" টি আইটেম নির্বাচন করতে পারবেন।";return e.maximum!=1&&(t=e.maximum+" টি আইটেম নির্বাচন করতে পারবেন।"),t},noResults:function(){return"কোন ফলাফল পাওয়া যায়নি।"},searching:function(){return"অনুসন্ধান করা হচ্ছে ..."}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ca.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Si us plau, elimina "+t+" car";return t==1?n+="àcter":n+="àcters",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Si us plau, introdueix "+t+" car";return t==1?n+="àcter":n+="àcters",n},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(e){var t="Només es pot seleccionar "+e.maximum+" element";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"},removeAllItems:function(){return"Treu tots els elements"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ps.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ps",[],function(){return{errorLoading:function(){return"پايلي نه سي ترلاسه کېدای"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="د مهربانۍ لمخي "+t+" توری ړنګ کړئ";return t!=1&&(n=n.replace("توری","توري")),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="لږ تر لږه "+t+" يا ډېر توري وليکئ";return n},loadingMore:function(){return"نوري پايلي ترلاسه کيږي..."},maximumSelected:function(e){var t="تاسو يوازي "+e.maximum+" قلم په نښه کولای سی";return e.maximum!=1&&(t=t.replace("قلم","قلمونه")),t},noResults:function(){return"پايلي و نه موندل سوې"},searching:function(){return"لټول کيږي..."},removeAllItems:function(){return"ټول توکي لرې کړئ"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/sq.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sq",[],function(){return{errorLoading:function(){return"Rezultatet nuk mund të ngarkoheshin."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Të lutem fshi "+t+" karakter";return t!=1&&(n+="e"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Të lutem shkruaj "+t+" ose më shumë karaktere";return n},loadingMore:function(){return"Duke ngarkuar më shumë rezultate…"},maximumSelected:function(e){var t="Mund të zgjedhësh vetëm "+e.maximum+" element";return e.maximum!=1&&(t+="e"),t},noResults:function(){return"Nuk u gjet asnjë rezultat"},searching:function(){return"Duke kërkuar…"},removeAllItems:function(){return"Hiq të gjitha sendet"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/fr.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/fr",[],function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Supprimez "+t+" caractère"+(t>1?"s":"")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Saisissez au moins "+t+" caractère"+(t>1?"s":"")},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(e){return"Vous pouvez seulement sélectionner "+e.maximum+" élément"+(e.maximum>1?"s":"")},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"},removeAllItems:function(){return"Supprimer tous les articles"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/it.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/it",[],function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Per favore cancella "+t+" caratter";return t!==1?n+="i":n+="e",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Per favore inserisci "+t+" o più caratteri";return n},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(e){var t="Puoi selezionare solo "+e.maximum+" element";return e.maximum!==1?t+="i":t+="o",t},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"},removeAllItems:function(){return"Rimuovi tutti gli oggetti"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/gl.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/gl",[],function(){return{errorLoading:function(){return"Non foi posíbel cargar os resultados."},inputTooLong:function(e){var t=e.input.length-e.maximum;return t===1?"Elimine un carácter":"Elimine "+t+" caracteres"},inputTooShort:function(e){var t=e.minimum-e.input.length;return t===1?"Engada un carácter":"Engada "+t+" caracteres"},loadingMore:function(){return"Cargando máis resultados…"},maximumSelected:function(e){return e.maximum===1?"Só pode seleccionar un elemento":"Só pode seleccionar "+e.maximum+" elementos"},noResults:function(){return"Non se atoparon resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Elimina todos os elementos"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ne.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ne",[],function(){return{errorLoading:function(){return"नतिजाहरु देखाउन सकिएन।"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="कृपया "+t+" अक्षर मेटाउनुहोस्।";return t!=1&&(n+="कृपया "+t+" अक्षरहरु मेटाउनुहोस्।"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="कृपया बाँकी रहेका "+t+" वा अरु धेरै अक्षरहरु भर्नुहोस्।";return n},loadingMore:function(){return"अरु नतिजाहरु भरिँदैछन् …"},maximumSelected:function(e){var t="तँपाई "+e.maximum+" वस्तु मात्र छान्न पाउँनुहुन्छ।";return e.maximum!=1&&(t="तँपाई "+e.maximum+" वस्तुहरु मात्र छान्न पाउँनुहुन्छ।"),t},noResults:function(){return"कुनै पनि नतिजा भेटिएन।"},searching:function(){return"खोजि हुँदैछ…"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/sl.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sl",[],function(){return{errorLoading:function(){return"Zadetkov iskanja ni bilo mogoče naložiti."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Prosim zbrišite "+t+" znak";return t==2?n+="a":t!=1&&(n+="e"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Prosim vpišite še "+t+" znak";return t==2?n+="a":t!=1&&(n+="e"),n},loadingMore:function(){return"Nalagam več zadetkov…"},maximumSelected:function(e){var t="Označite lahko največ "+e.maximum+" predmet";return e.maximum==2?t+="a":e.maximum!=1&&(t+="e"),t},noResults:function(){return"Ni zadetkov."},searching:function(){return"Iščem…"},removeAllItems:function(){return"Odstranite vse elemente"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/es.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/es",[],function(){return{errorLoading:function(){return"No se pudieron cargar los resultados"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Por favor, elimine "+t+" car";return t==1?n+="ácter":n+="acteres",n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Por favor, introduzca "+t+" car";return t==1?n+="ácter":n+="acteres",n},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(e){var t="Sólo puede seleccionar "+e.maximum+" elemento";return e.maximum!=1&&(t+="s"),t},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Eliminar todos los elementos"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/nl.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Gelieve "+t+" karakters te verwijderen";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Gelieve "+t+" of meer karakters in te voeren";return n},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var t=e.maximum==1?"kan":"kunnen",n="Er "+t+" maar "+e.maximum+" item";return e.maximum!=1&&(n+="s"),n+=" worden geselecteerd",n},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"},removeAllItems:function(){return"Verwijder alle items"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ro.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ro",[],function(){return{errorLoading:function(){return"Rezultatele nu au putut fi incărcate."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vă rugăm să ștergeți"+t+" caracter";return t!==1&&(n+="e"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Vă rugăm să introduceți "+t+" sau mai multe caractere";return n},loadingMore:function(){return"Se încarcă mai multe rezultate…"},maximumSelected:function(e){var t="Aveți voie să selectați cel mult "+e.maximum;return t+=" element",e.maximum!==1&&(t+="e"),t},noResults:function(){return"Nu au fost găsite rezultate"},searching:function(){return"Căutare…"},removeAllItems:function(){return"Eliminați toate elementele"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/lt.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/lt",[],function(){function e(e,t,n,r){return e%10===1&&(e%100<11||e%100>19)?t:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?n:r}return{inputTooLong:function(t){var n=t.input.length-t.maximum,r="Pašalinkite "+n+" simbol";return r+=e(n,"į","ius","ių"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Įrašykite dar "+n+" simbol";return r+=e(n,"į","ius","ių"),r},loadingMore:function(){return"Kraunama daugiau rezultatų…"},maximumSelected:function(t){var n="Jūs galite pasirinkti tik "+t.maximum+" element";return n+=e(t.maximum,"ą","us","ų"),n},noResults:function(){return"Atitikmenų nerasta"},searching:function(){return"Ieškoma…"},removeAllItems:function(){return"Pašalinti visus elementus"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/pl.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/pl",[],function(){var e=["znak","znaki","znaków"],t=["element","elementy","elementów"],n=function(t,n){if(t===1)return n[0];if(t>1&&t<=4)return n[1];if(t>=5)return n[2]};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(t){var r=t.input.length-t.maximum;return"Usuń "+r+" "+n(r,e)},inputTooShort:function(t){var r=t.minimum-t.input.length;return"Podaj przynajmniej "+r+" "+n(r,e)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(e){return"Możesz zaznaczyć tylko "+e.maximum+" "+n(e.maximum,t)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"},removeAllItems:function(){return"Usuń wszystkie przedmioty"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/sr.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sr",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Preuzimanje nije uspelo."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Obrišite "+n+" simbol";return r+=e(n,"","a","a"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Ukucajte bar još "+n+" simbol";return r+=e(n,"","a","a"),r},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(t){var n="Možete izabrati samo "+t.maximum+" stavk";return n+=e(t.maximum,"u","e","i"),n},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Уклоните све ставке"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/bs.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/bs",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Preuzimanje nije uspijelo."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Obrišite "+n+" simbol";return r+=e(n,"","a","a"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Ukucajte bar još "+n+" simbol";return r+=e(n,"","a","a"),r},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(t){var n="Možete izabrati samo "+t.maximum+" stavk";return n+=e(t.maximum,"u","e","i"),n},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Uklonite sve stavke"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/el.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/el",[],function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Παρακαλώ διαγράψτε "+t+" χαρακτήρ";return t==1&&(n+="α"),t!=1&&(n+="ες"),n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Παρακαλώ συμπληρώστε "+t+" ή περισσότερους χαρακτήρες";return n},loadingMore:function(){return"Φόρτωση περισσότερων αποτελεσμάτων…"},maximumSelected:function(e){var t="Μπορείτε να επιλέξετε μόνο "+e.maximum+" επιλογ";return e.maximum==1&&(t+="ή"),e.maximum!=1&&(t+="ές"),t},noResults:function(){return"Δεν βρέθηκαν αποτελέσματα"},searching:function(){return"Αναζήτηση…"},removeAllItems:function(){return"Καταργήστε όλα τα στοιχεία"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/sr-Cyrl.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sr-Cyrl",[],function(){function e(e,t,n,r){return e%10==1&&e%100!=11?t:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?n:r}return{errorLoading:function(){return"Преузимање није успело."},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Обришите "+n+" симбол";return r+=e(n,"","а","а"),r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Укуцајте бар још "+n+" симбол";return r+=e(n,"","а","а"),r},loadingMore:function(){return"Преузимање још резултата…"},maximumSelected:function(t){var n="Можете изабрати само "+t.maximum+" ставк";return n+=e(t.maximum,"у","е","и"),n},noResults:function(){return"Ништа није пронађено"},searching:function(){return"Претрага…"},removeAllItems:function(){return"Уклоните све ставке"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/uk.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/uk",[],function(){function e(e,t,n,r){return e%100>10&&e%100<15?r:e%10===1?t:e%10>1&&e%10<5?n:r}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(t){var n=t.input.length-t.maximum;return"Будь ласка, видаліть "+n+" "+e(t.maximum,"літеру","літери","літер")},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Будь ласка, введіть "+t+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(t){return"Ви можете вибрати лише "+t.maximum+" "+e(t.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"},removeAllItems:function(){return"Видалити всі елементи"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/ru.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/ru",[],function(){function e(e,t,n,r){return e%10<5&&e%10>0&&e%100<5||e%100>20?e%10>1?n:t:r}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Пожалуйста, введите на "+n+" символ";return r+=e(n,"","a","ов"),r+=" меньше",r},inputTooShort:function(t){var n=t.minimum-t.input.length,r="Пожалуйста, введите ещё хотя бы "+n+" символ";return r+=e(n,"","a","ов"),r},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(t){var n="Вы можете выбрать не более "+t.maximum+" элемент";return n+=e(t.maximum,"","a","ов"),n},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"},removeAllItems:function(){return"Удалить все элементы"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/hsb.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/hsb",[],function(){var e=["znamješko","znamješce","znamješka","znamješkow"],t=["zapisk","zapiskaj","zapiski","zapiskow"],n=function(t,n){if(t===1)return n[0];if(t===2)return n[1];if(t>2&&t<=4)return n[2];if(t>=5)return n[3]};return{errorLoading:function(){return"Wuslědki njedachu so začitać."},inputTooLong:function(t){var r=t.input.length-t.maximum;return"Prošu zhašej "+r+" "+n(r,e)},inputTooShort:function(t){var r=t.minimum-t.input.length;return"Prošu zapodaj znajmjeńša "+r+" "+n(r,e)},loadingMore:function(){return"Dalše wuslědki so začitaja…"},maximumSelected:function(e){return"Móžeš jenož "+e.maximum+" "+n(e.maximum,t)+"wubrać"},noResults:function(){return"Žane wuslědki namakane"},searching:function(){return"Pyta so…"},removeAllItems:function(){return"Remove all items"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/dsb.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/dsb",[],function(){var e=["znamuško","znamušce","znamuška","znamuškow"],t=["zapisk","zapiska","zapiski","zapiskow"],n=function(t,n){if(t===1)return n[0];if(t===2)return n[1];if(t>2&&t<=4)return n[2];if(t>=5)return n[3]};return{errorLoading:function(){return"Wuslědki njejsu se dali zacytaś."},inputTooLong:function(t){var r=t.input.length-t.maximum;return"Pšosym lašuj "+r+" "+n(r,e)},inputTooShort:function(t){var r=t.minimum-t.input.length;return"Pšosym zapódaj nanejmjenjej "+r+" "+n(r,e)},loadingMore:function(){return"Dalšne wuslědki se zacytaju…"},maximumSelected:function(e){return"Móžoš jano "+e.maximum+" "+n(e.maximum,t)+"wubraś."},noResults:function(){return"Žedne wuslědki namakane"},searching:function(){return"Pyta se…"},removeAllItems:function(){return"Remove all items"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/collapse.min.js: -------------------------------------------------------------------------------- 1 | (function(){var e=function(b,a){return b.nodeName===a.toUpperCase()?b:"BODY"===b.parentNode.nodeName?null:b.parentNode&&e(b.parentNode,a)};window.addEventListener("load",function(){for(var b=document.querySelectorAll("fieldset.collapse"),a=0;a -------------------------------------------------------------------------------- /staticfiles/admin/img/icon-calendar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /staticfiles/admin/img/gis/move_vertex_off.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /staticfiles/admin/img/calendar-icons.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /staticfiles/admin/img/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Code Charm Ltd 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /staticfiles/admin/img/sorting-icons.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/jquery/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright JS Foundation and other contributors, https://js.foundation/ 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/xregexp/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2007-2012 Steven Levithan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /staticfiles/admin/css/vendor/select2/LICENSE-SELECT2.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/cs.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/cs",[],function(){function e(e,t){switch(e){case 2:return t?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím, zadejte o jeden znak méně.":n<=4?"Prosím, zadejte o "+e(n,!0)+" znaky méně.":"Prosím, zadejte o "+n+" znaků méně."},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím, zadejte ještě jeden znak.":n<=4?"Prosím, zadejte ještě další "+e(n,!0)+" znaky.":"Prosím, zadejte ještě dalších "+n+" znaků."},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(t){var n=t.maximum;return n==1?"Můžete zvolit jen jednu položku.":n<=4?"Můžete zvolit maximálně "+e(n,!1)+" položky.":"Můžete zvolit maximálně "+n+" položek."},noResults:function(){return"Nenalezeny žádné položky."},searching:function(){return"Vyhledávání…"},removeAllItems:function(){return"Odstraňte všechny položky"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/vendor/select2/i18n/sk.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.7 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/sk",[],function(){var e={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{errorLoading:function(){return"Výsledky sa nepodarilo načítať."},inputTooLong:function(t){var n=t.input.length-t.maximum;return n==1?"Prosím, zadajte o jeden znak menej":n>=2&&n<=4?"Prosím, zadajte o "+e[n](!0)+" znaky menej":"Prosím, zadajte o "+n+" znakov menej"},inputTooShort:function(t){var n=t.minimum-t.input.length;return n==1?"Prosím, zadajte ešte jeden znak":n<=4?"Prosím, zadajte ešte ďalšie "+e[n](!0)+" znaky":"Prosím, zadajte ešte ďalších "+n+" znakov"},loadingMore:function(){return"Načítanie ďalších výsledkov…"},maximumSelected:function(t){return t.maximum==1?"Môžete zvoliť len jednu položku":t.maximum>=2&&t.maximum<=4?"Môžete zvoliť najviac "+e[t.maximum](!1)+" položky":"Môžete zvoliť najviac "+t.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"},removeAllItems:function(){return"Odstráňte všetky položky"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /staticfiles/admin/js/autocomplete.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 'use strict'; 3 | var init = function($element, options) { 4 | var settings = $.extend({ 5 | ajax: { 6 | data: function(params) { 7 | return { 8 | term: params.term, 9 | page: params.page 10 | }; 11 | } 12 | } 13 | }, options); 14 | $element.select2(settings); 15 | }; 16 | 17 | $.fn.djangoAdminSelect2 = function(options) { 18 | var settings = $.extend({}, options); 19 | $.each(this, function(i, element) { 20 | var $element = $(element); 21 | init($element, settings); 22 | }); 23 | return this; 24 | }; 25 | 26 | $(function() { 27 | // Initialize all autocomplete widgets except the one in the template 28 | // form used when a new formset is added. 29 | $('.admin-autocomplete').not('[name*=__prefix__]').djangoAdminSelect2(); 30 | }); 31 | 32 | $(document).on('formset:added', (function() { 33 | return function(event, $newFormset) { 34 | return $newFormset.find('.admin-autocomplete').djangoAdminSelect2(); 35 | }; 36 | })(this)); 37 | }(django.jQuery)); 38 | -------------------------------------------------------------------------------- /staticfiles/admin/css/login.css: -------------------------------------------------------------------------------- 1 | /* LOGIN FORM */ 2 | 3 | body.login { 4 | background: #f8f8f8; 5 | } 6 | 7 | .login #header { 8 | height: auto; 9 | padding: 15px 16px; 10 | justify-content: center; 11 | } 12 | 13 | .login #header h1 { 14 | font-size: 18px; 15 | } 16 | 17 | .login #header h1 a { 18 | color: #fff; 19 | } 20 | 21 | .login #content { 22 | padding: 20px 20px 0; 23 | } 24 | 25 | .login #container { 26 | background: #fff; 27 | border: 1px solid #eaeaea; 28 | border-radius: 4px; 29 | overflow: hidden; 30 | width: 28em; 31 | min-width: 300px; 32 | margin: 100px auto; 33 | } 34 | 35 | .login #content-main { 36 | width: 100%; 37 | } 38 | 39 | .login .form-row { 40 | padding: 4px 0; 41 | float: left; 42 | width: 100%; 43 | border-bottom: none; 44 | } 45 | 46 | .login .form-row label { 47 | padding-right: 0.5em; 48 | line-height: 2em; 49 | font-size: 1em; 50 | clear: both; 51 | color: #333; 52 | } 53 | 54 | .login .form-row #id_username, .login .form-row #id_password { 55 | clear: both; 56 | padding: 8px; 57 | width: 100%; 58 | -webkit-box-sizing: border-box; 59 | -moz-box-sizing: border-box; 60 | box-sizing: border-box; 61 | } 62 | 63 | .login span.help { 64 | font-size: 10px; 65 | display: block; 66 | } 67 | 68 | .login .submit-row { 69 | clear: both; 70 | padding: 1em 0 0 9.4em; 71 | margin: 0; 72 | border: none; 73 | background: none; 74 | text-align: left; 75 | } 76 | 77 | .login .password-reset-link { 78 | text-align: center; 79 | } 80 | -------------------------------------------------------------------------------- /static/images/icons/icon-5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /staticfiles/images/icons/icon-5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /staticfiles/admin/js/prepopulate.js: -------------------------------------------------------------------------------- 1 | /*global URLify*/ 2 | (function($) { 3 | 'use strict'; 4 | $.fn.prepopulate = function(dependencies, maxLength, allowUnicode) { 5 | /* 6 | Depends on urlify.js 7 | Populates a selected field with the values of the dependent fields, 8 | URLifies and shortens the string. 9 | dependencies - array of dependent fields ids 10 | maxLength - maximum length of the URLify'd string 11 | allowUnicode - Unicode support of the URLify'd string 12 | */ 13 | return this.each(function() { 14 | var prepopulatedField = $(this); 15 | 16 | var populate = function() { 17 | // Bail if the field's value has been changed by the user 18 | if (prepopulatedField.data('_changed')) { 19 | return; 20 | } 21 | 22 | var values = []; 23 | $.each(dependencies, function(i, field) { 24 | field = $(field); 25 | if (field.val().length > 0) { 26 | values.push(field.val()); 27 | } 28 | }); 29 | prepopulatedField.val(URLify(values.join(' '), maxLength, allowUnicode)); 30 | }; 31 | 32 | prepopulatedField.data('_changed', false); 33 | prepopulatedField.on('change', function() { 34 | prepopulatedField.data('_changed', true); 35 | }); 36 | 37 | if (!prepopulatedField.val()) { 38 | $(dependencies.join(',')).on('keyup change focus', populate); 39 | } 40 | }); 41 | }; 42 | })(django.jQuery); 43 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WeatherBug Web Application Using Python and Django 2 | *Weather Bug is the application of science and technology to predict the conditions of the atmosphere for a given location and time. You can get the realtime Weather forecasting by using this web application* 3 | 4 | 7 | 8 | ## Requirements 9 | 1. Python 3+ 10 | 2. Django 3+ 11 | 12 | ## Setup, Installation and Run 13 | 14 | To run the app on your local machine, you need Python 3+, installed on your computer. Follow all the steps to run this project. 15 | 16 | 1. Create `venv` virtual environment: 17 | ```bash 18 | pip install venv virtual_env_name 19 | ``` 20 | 21 | 2. Activate `venv` virtual environment: 22 | ```bash 23 | source virtual_env_name/Scripts/activate 24 | ``` 25 | 26 | 3. Firstly you need to clone or download my project from github repositories: 27 | ```bash 28 | git clone https://github.com/IamOmaR22/Weather_App--Python-Django.git 29 | ``` 30 | 31 | 4. Then enter the corresponding directory: 32 | ```bash 33 | cd Weather_App--Python-Django 34 | ``` 35 | 36 | 5. Install all the requirements using pip: 37 | ```bash 38 | pip install -r requirements.txt 39 | ``` 40 | 41 | 6. Run server: 42 | ```bash 43 | python manage.py runserver 44 | ``` 45 | 46 | # Tools 47 | ## Front-end Part 48 | * HTML 49 | * CSS 50 | * Bootstrap 51 | * JavaScript 52 | ## Back-end 53 | * Django 54 | * SQLite 3 55 | 56 | # Screenshots of the Project 57 | 58 | 59 | 60 | 61 | 62 | Let's celebrate 🍕🍰🍕 63 | 64 | If you like my project, then simply give a star 🌟✰⭐✪🔯✨ 65 | 66 | **Copyright ©** 2020-3020 Md. Omar Faruk 67 | -------------------------------------------------------------------------------- /static/images/icons/icon-7.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /staticfiles/images/icons/icon-7.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | 20 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /static/images/icons/icon-6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 24 | 25 | -------------------------------------------------------------------------------- /staticfiles/images/icons/icon-6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 24 | 25 | -------------------------------------------------------------------------------- /static/images/icons/icon-12.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /staticfiles/images/icons/icon-12.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /staticfiles/admin/css/responsive_rtl.css: -------------------------------------------------------------------------------- 1 | /* TABLETS */ 2 | 3 | @media (max-width: 1024px) { 4 | [dir="rtl"] .colMS { 5 | margin-right: 0; 6 | } 7 | 8 | [dir="rtl"] #user-tools { 9 | text-align: right; 10 | } 11 | 12 | [dir="rtl"] #changelist .actions label { 13 | padding-left: 10px; 14 | padding-right: 0; 15 | } 16 | 17 | [dir="rtl"] #changelist .actions select { 18 | margin-left: 0; 19 | margin-right: 15px; 20 | } 21 | 22 | [dir="rtl"] .change-list .filtered .results, 23 | [dir="rtl"] .change-list .filtered .paginator, 24 | [dir="rtl"] .filtered #toolbar, 25 | [dir="rtl"] .filtered div.xfull, 26 | [dir="rtl"] .filtered .actions { 27 | margin-right: 0; 28 | margin-left: 230px; 29 | } 30 | 31 | [dir="rtl"] .inline-group ul.tools a.add, 32 | [dir="rtl"] .inline-group div.add-row a, 33 | [dir="rtl"] .inline-group .tabular tr.add-row td a { 34 | padding: 8px 26px 8px 10px; 35 | background-position: calc(100% - 8px) 9px; 36 | } 37 | 38 | [dir="rtl"] .related-widget-wrapper-link + .selector { 39 | margin-right: 0; 40 | margin-left: 15px; 41 | } 42 | 43 | [dir="rtl"] .selector .selector-filter label { 44 | margin-right: 0; 45 | margin-left: 8px; 46 | } 47 | 48 | [dir="rtl"] .object-tools li { 49 | float: right; 50 | } 51 | 52 | [dir="rtl"] .object-tools li + li { 53 | margin-left: 0; 54 | margin-right: 15px; 55 | } 56 | 57 | [dir="rtl"] .dashboard .module table td a { 58 | padding-left: 0; 59 | padding-right: 16px; 60 | } 61 | } 62 | 63 | /* MOBILE */ 64 | 65 | @media (max-width: 767px) { 66 | [dir="rtl"] .change-list .filtered .results, 67 | [dir="rtl"] .change-list .filtered .paginator, 68 | [dir="rtl"] .filtered #toolbar, 69 | [dir="rtl"] .filtered div.xfull, 70 | [dir="rtl"] .filtered .actions { 71 | margin-left: 0; 72 | } 73 | 74 | [dir="rtl"] .aligned .add-another, 75 | [dir="rtl"] .aligned .related-lookup, 76 | [dir="rtl"] .aligned .datetimeshortcuts { 77 | margin-left: 0; 78 | margin-right: 15px; 79 | } 80 | 81 | [dir="rtl"] .aligned ul { 82 | margin-right: 0; 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /staticfiles/admin/js/collapse.js: -------------------------------------------------------------------------------- 1 | /*global gettext*/ 2 | (function() { 3 | 'use strict'; 4 | var closestElem = function(elem, tagName) { 5 | if (elem.nodeName === tagName.toUpperCase()) { 6 | return elem; 7 | } 8 | if (elem.parentNode.nodeName === 'BODY') { 9 | return null; 10 | } 11 | return elem.parentNode && closestElem(elem.parentNode, tagName); 12 | }; 13 | 14 | window.addEventListener('load', function() { 15 | // Add anchor tag for Show/Hide link 16 | var fieldsets = document.querySelectorAll('fieldset.collapse'); 17 | for (var i = 0; i < fieldsets.length; i++) { 18 | var elem = fieldsets[i]; 19 | // Don't hide if fields in this fieldset have errors 20 | if (elem.querySelectorAll('div.errors').length === 0) { 21 | elem.classList.add('collapsed'); 22 | var h2 = elem.querySelector('h2'); 23 | var link = document.createElement('a'); 24 | link.setAttribute('id', 'fieldsetcollapser' + i); 25 | link.setAttribute('class', 'collapse-toggle'); 26 | link.setAttribute('href', '#'); 27 | link.textContent = gettext('Show'); 28 | h2.appendChild(document.createTextNode(' (')); 29 | h2.appendChild(link); 30 | h2.appendChild(document.createTextNode(')')); 31 | } 32 | } 33 | // Add toggle to hide/show anchor tag 34 | var toggleFunc = function(ev) { 35 | if (ev.target.matches('.collapse-toggle')) { 36 | ev.preventDefault(); 37 | ev.stopPropagation(); 38 | var fieldset = closestElem(ev.target, 'fieldset'); 39 | if (fieldset.classList.contains('collapsed')) { 40 | // Show 41 | ev.target.textContent = gettext('Hide'); 42 | fieldset.classList.remove('collapsed'); 43 | } else { 44 | // Hide 45 | ev.target.textContent = gettext('Show'); 46 | fieldset.classList.add('collapsed'); 47 | } 48 | } 49 | }; 50 | var inlineDivs = document.querySelectorAll('fieldset.module'); 51 | for (i = 0; i < inlineDivs.length; i++) { 52 | inlineDivs[i].addEventListener('click', toggleFunc); 53 | } 54 | }); 55 | })(); 56 | -------------------------------------------------------------------------------- /static/js/ie-support/html5.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); -------------------------------------------------------------------------------- /staticfiles/js/ie-support/html5.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); -------------------------------------------------------------------------------- /static/images/icons/icon-13.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 26 | 27 | 28 | 29 | 30 | 33 | 34 | 35 | 36 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /staticfiles/images/icons/icon-13.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 26 | 27 | 28 | 29 | 30 | 33 | 34 | 35 | 36 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /staticfiles/admin/js/actions.min.js: -------------------------------------------------------------------------------- 1 | (function(a){var f;a.fn.actions=function(e){var b=a.extend({},a.fn.actions.defaults,e),g=a(this),k=!1,l=function(){a(b.acrossClears).hide();a(b.acrossQuestions).show();a(b.allContainer).hide()},m=function(){a(b.acrossClears).show();a(b.acrossQuestions).hide();a(b.actionContainer).toggleClass(b.selectedClass);a(b.allContainer).show();a(b.counterContainer).hide()},n=function(){a(b.acrossClears).hide();a(b.acrossQuestions).hide();a(b.allContainer).hide();a(b.counterContainer).show()},p=function(){n(); 2 | a(b.acrossInput).val(0);a(b.actionContainer).removeClass(b.selectedClass)},q=function(c){c?l():n();a(g).prop("checked",c).parent().parent().toggleClass(b.selectedClass,c)},h=function(){var c=a(g).filter(":checked").length,d=a(".action-counter").data("actionsIcnt");a(b.counterContainer).html(interpolate(ngettext("%(sel)s of %(cnt)s selected","%(sel)s of %(cnt)s selected",c),{sel:c,cnt:d},!0));a(b.allToggle).prop("checked",function(){if(c===g.length){var a=!0;l()}else a=!1,p();return a})};a(b.counterContainer).show(); 3 | a(this).filter(":checked").each(function(c){a(this).parent().parent().toggleClass(b.selectedClass);h();1===a(b.acrossInput).val()&&m()});a(b.allToggle).show().on("click",function(){q(a(this).prop("checked"));h()});a("a",b.acrossQuestions).on("click",function(c){c.preventDefault();a(b.acrossInput).val(1);m()});a("a",b.acrossClears).on("click",function(c){c.preventDefault();a(b.allToggle).prop("checked",!1);p();q(0);h()});f=null;a(g).on("click",function(c){c||(c=window.event);var d=c.target?c.target: 4 | c.srcElement;if(f&&a.data(f)!==a.data(d)&&!0===c.shiftKey){var e=!1;a(f).prop("checked",d.checked).parent().parent().toggleClass(b.selectedClass,d.checked);a(g).each(function(){if(a.data(this)===a.data(f)||a.data(this)===a.data(d))e=e?!1:!0;e&&a(this).prop("checked",d.checked).parent().parent().toggleClass(b.selectedClass,d.checked)})}a(d).parent().parent().toggleClass(b.selectedClass,d.checked);f=d;h()});a("form#changelist-form table#result_list tr").on("change","td:gt(0) :input",function(){k=!0}); 5 | a('form#changelist-form button[name="index"]').on("click",function(a){if(k)return confirm(gettext("You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost."))});a('form#changelist-form input[name="_save"]').on("click",function(c){var d=!1;a("select option:selected",b.actionContainer).each(function(){a(this).val()&&(d=!0)});if(d)return k?confirm(gettext("You have selected an action, but you haven't saved your changes to individual fields yet. Please click OK to save. You'll need to re-run the action.")): 6 | confirm(gettext("You have selected an action, and you haven't made any changes on individual fields. You're probably looking for the Go button rather than the Save button."))})};a.fn.actions.defaults={actionContainer:"div.actions",counterContainer:"span.action-counter",allContainer:"div.actions span.all",acrossInput:"div.actions input.select-across",acrossQuestions:"div.actions span.question",acrossClears:"div.actions span.clear",allToggle:"#action-toggle",selectedClass:"selected"};a(document).ready(function(){var e= 7 | a("tr input.action-select");0 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /staticfiles/images/icons/icon-8.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /static/images/icons/icon-9.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /staticfiles/images/icons/icon-9.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /staticfiles/admin/img/selector-icons.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /WeatherBug/settings.py: -------------------------------------------------------------------------------- 1 | """ 2 | Django settings for WeatherBug project. 3 | 4 | Generated by 'django-admin startproject' using Django 3.0.7. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/3.0/topics/settings/ 8 | 9 | For the full list of settings and their values, see 10 | https://docs.djangoproject.com/en/3.0/ref/settings/ 11 | """ 12 | 13 | import os 14 | 15 | # Build paths inside the project like this: os.path.join(BASE_DIR, ...) 16 | BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 17 | 18 | 19 | # Quick-start development settings - unsuitable for production 20 | # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/ 21 | 22 | # SECURITY WARNING: keep the secret key used in production secret! 23 | SECRET_KEY = '5esgtomarm#@0!uik@%d_44^!cd42faruk437w)ef+@g@3m+ek-4l@g_l6o' 24 | 25 | # SECURITY WARNING: don't run with debug turned on in production! 26 | DEBUG = True 27 | 28 | ALLOWED_HOSTS = [] 29 | 30 | 31 | # Application definition 32 | 33 | INSTALLED_APPS = [ 34 | 'django.contrib.admin', 35 | 'django.contrib.auth', 36 | 'django.contrib.contenttypes', 37 | 'django.contrib.sessions', 38 | 'django.contrib.messages', 39 | 'django.contrib.staticfiles', 40 | 'weather_api' 41 | ] 42 | 43 | MIDDLEWARE = [ 44 | 'django.middleware.security.SecurityMiddleware', 45 | 'django.contrib.sessions.middleware.SessionMiddleware', 46 | 'django.middleware.common.CommonMiddleware', 47 | 'django.middleware.csrf.CsrfViewMiddleware', 48 | 'django.contrib.auth.middleware.AuthenticationMiddleware', 49 | 'django.contrib.messages.middleware.MessageMiddleware', 50 | 'django.middleware.clickjacking.XFrameOptionsMiddleware', 51 | ] 52 | 53 | ROOT_URLCONF = 'WeatherBug.urls' 54 | 55 | TEMPLATES = [ 56 | { 57 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', 58 | 'DIRS': [os.path.join(BASE_DIR, 'templates')], 59 | 'APP_DIRS': True, 60 | 'OPTIONS': { 61 | 'context_processors': [ 62 | 'django.template.context_processors.debug', 63 | 'django.template.context_processors.request', 64 | 'django.contrib.auth.context_processors.auth', 65 | 'django.contrib.messages.context_processors.messages', 66 | ], 67 | }, 68 | }, 69 | ] 70 | 71 | WSGI_APPLICATION = 'WeatherBug.wsgi.application' 72 | 73 | 74 | # Database 75 | # https://docs.djangoproject.com/en/3.0/ref/settings/#databases 76 | 77 | DATABASES = { 78 | 'default': { 79 | 'ENGINE': 'django.db.backends.sqlite3', 80 | 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 81 | } 82 | } 83 | 84 | 85 | # Password validation 86 | # https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators 87 | 88 | AUTH_PASSWORD_VALIDATORS = [ 89 | { 90 | 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', 91 | }, 92 | { 93 | 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', 94 | }, 95 | { 96 | 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', 97 | }, 98 | { 99 | 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', 100 | }, 101 | ] 102 | 103 | 104 | # Internationalization 105 | # https://docs.djangoproject.com/en/3.0/topics/i18n/ 106 | 107 | LANGUAGE_CODE = 'en-us' 108 | 109 | TIME_ZONE = 'Asia/Dhaka' 110 | 111 | USE_I18N = True 112 | 113 | USE_L10N = True 114 | 115 | USE_TZ = True 116 | 117 | 118 | # Static files (CSS, JavaScript, Images) 119 | # https://docs.djangoproject.com/en/3.0/howto/static-files/ 120 | 121 | STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles") 122 | STATIC_URL = '/static/' 123 | STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")] 124 | -------------------------------------------------------------------------------- /templates/base.html: -------------------------------------------------------------------------------- 1 | {% load static %} 2 | 3 | 4 | 5 | 6 | 7 | 8 | {% block title %}{% endblock %} 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | WeatherBug 27 | Real time weather forecast 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | Home 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | {% csrf_token%} 49 | 50 | 51 | 52 | 53 | 54 | 55 | {% block content %} 56 | 57 | {% endblock content %} 58 | 59 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | --------------------------------------------------------------------------------
58 | 59 | 60 |