Skip to content

Commit 30b27c9

Browse files
committed
modified files
1 parent 75639a4 commit 30b27c9

15 files changed

+17
-14
lines changed
-14 Bytes
Binary file not shown.

App/__pycache__/admin.cpython-34.pyc

-14 Bytes
Binary file not shown.

App/__pycache__/models.cpython-34.pyc

-14 Bytes
Binary file not shown.

App/__pycache__/urls.cpython-34.pyc

-116 Bytes
Binary file not shown.

App/apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
class Micrototask1Config(AppConfig):
5-
name = 'Micrototask1'
5+
name = 'App'

App/urls.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
from django.conf.urls import url
22

3-
from . import views
4-
5-
urlpatterns = [
6-
url(r'^$', views.main, name = 'main'),
7-
]
-13 Bytes
Binary file not shown.
-2 Bytes
Binary file not shown.
-20 Bytes
Binary file not shown.
-575 Bytes
Binary file not shown.

Project/settings.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Django settings for OutreachyWiki project.
2+
Django settings for Project project.
33
44
Generated by 'django-admin startproject' using Django 1.11.
55
@@ -25,7 +25,7 @@
2525
# SECURITY WARNING: don't run with debug turned on in production!
2626
DEBUG = True
2727

28-
ALLOWED_HOSTS = []
28+
ALLOWED_HOSTS = ['tools.wmflabs.org','127.0.0.1']
2929

3030

3131
# Application definition
@@ -37,7 +37,7 @@
3737
'django.contrib.sessions',
3838
'django.contrib.messages',
3939
'django.contrib.staticfiles',
40-
'Microtask1',
40+
'App',
4141
]
4242

4343
MIDDLEWARE = [
@@ -50,7 +50,7 @@
5050
'django.middleware.clickjacking.XFrameOptionsMiddleware',
5151
]
5252

53-
ROOT_URLCONF = 'OutreachyWiki.urls'
53+
ROOT_URLCONF = 'Project.urls'
5454

5555
TEMPLATES = [
5656
{
@@ -68,7 +68,7 @@
6868
},
6969
]
7070

71-
WSGI_APPLICATION = 'OutreachyWiki.wsgi.application'
71+
WSGI_APPLICATION = 'Project.wsgi.application'
7272

7373

7474
# Database

Project/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
from django.contrib import admin
1818

1919
urlpatterns = [
20-
url(r'^', include('Microtask1.urls')),
20+
url(r'^', include('App.urls')),
2121
url(r'^admin/', admin.site.urls),
2222
]

Project/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
from django.core.wsgi import get_wsgi_application
1313

14-
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "OutreachyWiki.settings")
14+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Project.settings")
1515

1616
application = get_wsgi_application()

app.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import os
2+
3+
from django.core.wsgi import get_wsgi_application
4+
5+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Project.settings")
6+
7+
app = get_wsgi_application()
8+

manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44

55
if __name__ == "__main__":
6-
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "OutreachyWiki.settings")
6+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Project.settings")
77
try:
88
from django.core.management import execute_from_command_line
99
except ImportError:

0 commit comments

Comments
 (0)