Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1ad6e18

Browse files
committed
add django weather app tutorial
1 parent96313dc commit1ad6e18

File tree

43 files changed

+335
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+335
-0
lines changed

‎README.md‎

Lines changed: 1 addition & 0 deletions
Lines changed: 5 additions & 0 deletions

‎web-programming/django-weather-app/db.sqlite3‎

Whitespace-only changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env python
2+
"""Django's command-line utility for administrative tasks."""
3+
importos
4+
importsys
5+
6+
7+
defmain():
8+
"""Run administrative tasks."""
9+
os.environ.setdefault('DJANGO_SETTINGS_MODULE','weatherapplication.settings')
10+
try:
11+
fromdjango.core.managementimportexecute_from_command_line
12+
exceptImportErrorasexc:
13+
raiseImportError(
14+
"Couldn't import Django. Are you sure it's installed and "
15+
"available on your PYTHONPATH environment variable? Did you "
16+
"forget to activate a virtual environment?"
17+
)fromexc
18+
execute_from_command_line(sys.argv)
19+
20+
21+
if__name__=='__main__':
22+
main()
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
requests
2+
django

‎web-programming/django-weather-app/weatherapplication/__init__.py‎

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp