diff --git a/mysite/db.sqlite3 b/mysite/db.sqlite3
new file mode 100644
index 0000000..0e4c1a2
Binary files /dev/null and b/mysite/db.sqlite3 differ
diff --git a/mysite/manage.py b/mysite/manage.py
new file mode 100755
index 0000000..8a50ec0
--- /dev/null
+++ b/mysite/manage.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+import os
+import sys
+
+if __name__ == "__main__":
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
+
+ from django.core.management import execute_from_command_line
+
+ execute_from_command_line(sys.argv)
diff --git a/mysite/mysite/__init__.py b/mysite/mysite/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/mysite/mysite/settings.py b/mysite/mysite/settings.py
new file mode 100644
index 0000000..d7c795e
--- /dev/null
+++ b/mysite/mysite/settings.py
@@ -0,0 +1,86 @@
+"""
+Django settings for mysite project.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/1.7/topics/settings/
+
+For the full list of settings and their values, see
+https://docs.djangoproject.com/en/1.7/ref/settings/
+"""
+
+# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
+import os
+BASE_DIR = os.path.dirname(os.path.dirname(__file__))
+
+
+# Quick-start development settings - unsuitable for production
+# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
+
+# SECURITY WARNING: keep the secret key used in production secret!
+SECRET_KEY = '(zw2ktyg4cq=x5#v+df58kgu##l(s%e890(jv0=bjkzh0%h2af'
+
+# SECURITY WARNING: don't run with debug turned on in production!
+DEBUG = True
+
+TEMPLATE_DEBUG = True
+
+ALLOWED_HOSTS = []
+
+
+# Application definition
+
+INSTALLED_APPS = (
+ 'django.contrib.admin',
+ 'django.contrib.auth',
+ 'django.contrib.contenttypes',
+ 'django.contrib.sessions',
+ 'django.contrib.messages',
+ 'django.contrib.staticfiles',
+ 'polls',
+)
+
+MIDDLEWARE_CLASSES = (
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+ 'django.middleware.common.CommonMiddleware',
+ 'django.middleware.csrf.CsrfViewMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware',
+ 'django.middleware.clickjacking.XFrameOptionsMiddleware',
+)
+
+ROOT_URLCONF = 'mysite.urls'
+
+WSGI_APPLICATION = 'mysite.wsgi.application'
+
+
+# Database
+# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
+
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
+ }
+}
+
+# Internationalization
+# https://docs.djangoproject.com/en/1.7/topics/i18n/
+
+LANGUAGE_CODE = 'en-us'
+
+TIME_ZONE = 'UTC'
+
+USE_I18N = True
+
+USE_L10N = True
+
+USE_TZ = True
+
+
+# Static files (CSS, JavaScript, Images)
+# https://docs.djangoproject.com/en/1.7/howto/static-files/
+
+STATIC_URL = '/static/'
+
+TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')]
diff --git a/mysite/mysite/urls.py b/mysite/mysite/urls.py
new file mode 100644
index 0000000..65fd802
--- /dev/null
+++ b/mysite/mysite/urls.py
@@ -0,0 +1,7 @@
+from django.conf.urls import patterns, include, url
+from django.contrib import admin
+
+urlpatterns = patterns('',
+ url(r'^polls/', include('polls.urls', namespace="polls")),
+ url(r'^admin/', include(admin.site.urls)),
+)
\ No newline at end of file
diff --git a/mysite/mysite/wsgi.py b/mysite/mysite/wsgi.py
new file mode 100644
index 0000000..15c7d49
--- /dev/null
+++ b/mysite/mysite/wsgi.py
@@ -0,0 +1,14 @@
+"""
+WSGI config for mysite project.
+
+It exposes the WSGI callable as a module-level variable named ``application``.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
+"""
+
+import os
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
+
+from django.core.wsgi import get_wsgi_application
+application = get_wsgi_application()
diff --git a/mysite/polls/__init__.py b/mysite/polls/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/mysite/polls/admin.py b/mysite/polls/admin.py
new file mode 100644
index 0000000..3a875e1
--- /dev/null
+++ b/mysite/polls/admin.py
@@ -0,0 +1,21 @@
+from django.contrib import admin
+from models import Question, Choice
+
+
+class ChoiceInline(admin.TabularInline):
+ model = Choice
+ extra = 3
+
+
+class QuestionAdmin(admin.ModelAdmin):
+ list_display = ('question_text', 'pub_date', 'was_published_recently')
+ list_filter = ['pub_date']
+ search_fields = ['question_text']
+ fieldsets = [
+ (None, {'fields': ['question_text']}),
+ ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}),
+ ]
+ inlines = [ChoiceInline]
+
+admin.site.register(Question, QuestionAdmin)
+admin.site.register(Choice)
\ No newline at end of file
diff --git a/mysite/polls/migrations/0001_initial.py b/mysite/polls/migrations/0001_initial.py
new file mode 100644
index 0000000..f6837ef
--- /dev/null
+++ b/mysite/polls/migrations/0001_initial.py
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Choice',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('choice_text', models.CharField(max_length=200)),
+ ('votes', models.IntegerField(default=0)),
+ ],
+ options={
+ },
+ bases=(models.Model,),
+ ),
+ migrations.CreateModel(
+ name='Question',
+ fields=[
+ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
+ ('question_text', models.CharField(max_length=200)),
+ ('pub_date', models.DateTimeField(verbose_name=b'date published')),
+ ],
+ options={
+ },
+ bases=(models.Model,),
+ ),
+ migrations.AddField(
+ model_name='choice',
+ name='question',
+ field=models.ForeignKey(to='polls.Question'),
+ preserve_default=True,
+ ),
+ ]
diff --git a/mysite/polls/migrations/__init__.py b/mysite/polls/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/mysite/polls/models.py b/mysite/polls/models.py
new file mode 100644
index 0000000..a832ae2
--- /dev/null
+++ b/mysite/polls/models.py
@@ -0,0 +1,28 @@
+import datetime
+
+from django.db import models
+from django.utils import timezone
+
+
+class Question(models.Model):
+ question_text = models.CharField(max_length=200)
+ pub_date = models.DateTimeField('date published')
+
+ def was_published_recently(self):
+ return self.pub_date >= timezone.now() - datetime.timedelta(days=1)
+
+ was_published_recently.admin_order_field = 'pub_date'
+ was_published_recently.boolean = True
+ was_published_recently.short_description = 'Published recently?'
+
+ def __str__(self):
+ return self.question_text
+
+
+class Choice(models.Model):
+ question = models.ForeignKey(Question)
+ choice_text = models.CharField(max_length=200)
+ votes = models.IntegerField(default=0)
+
+ def __str__(self):
+ return self.choice_text
\ No newline at end of file
diff --git a/mysite/polls/templates/polls/detail.html b/mysite/polls/templates/polls/detail.html
new file mode 100644
index 0000000..2f36854
--- /dev/null
+++ b/mysite/polls/templates/polls/detail.html
@@ -0,0 +1,12 @@
+
{{ question.question_text }}
+
+{% if error_message %}
{{ error_message }}
{% endif %}
+
+
\ No newline at end of file
diff --git a/mysite/polls/templates/polls/index.html b/mysite/polls/templates/polls/index.html
new file mode 100644
index 0000000..cc41400
--- /dev/null
+++ b/mysite/polls/templates/polls/index.html
@@ -0,0 +1,9 @@
+{% if latest_question_list %}
+
+{% endif %}
\ No newline at end of file
diff --git a/mysite/polls/templates/polls/results.html b/mysite/polls/templates/polls/results.html
new file mode 100644
index 0000000..f9b3666
--- /dev/null
+++ b/mysite/polls/templates/polls/results.html
@@ -0,0 +1,9 @@
+
{% trans "You don't have permission to edit anything." %}
+{% endif %}
+
+{% endblock %}
+
+{% block sidebar %}
+
+
+
{% trans 'Recent Actions' %}
+
{% trans 'My Actions' %}
+ {% load log %}
+ {% get_admin_log 10 as admin_log for_user user %}
+ {% if not admin_log %}
+
{% trans 'None available' %}
+ {% else %}
+
+ {% for entry in admin_log %}
+
+ {% if entry.is_deletion or not entry.get_admin_url %}
+ {{ entry.object_repr }}
+ {% else %}
+ {{ entry.object_repr }}
+ {% endif %}
+
+ {% if entry.content_type %}
+ {% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}
+ {% else %}
+ {% trans 'Unknown content' %}
+ {% endif %}
+
+ {% endfor %}
+
+ {% endif %}
+
+
+{% endblock %}
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..2f2e6fa
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+Django==1.7.1
\ No newline at end of file