Skip to content

Commit

Permalink
modified file permissions and changed db settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Mar 2, 2015
1 parent 18879c6 commit 035dd68
Show file tree
Hide file tree
Showing 55 changed files with 20 additions and 9 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Procfile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: gunicorn hellodjango.wsgi --log-file -
web: gunicorn django_poll_app.wsgi --log-file -
Empty file modified db.sqlite3
100644 → 100755
Empty file.
Empty file modified django_poll_app/__init__.py
100644 → 100755
Empty file.
Empty file modified django_poll_app/__init__.pyc
100644 → 100755
Empty file.
18 changes: 10 additions & 8 deletions django_poll_app/settings.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@

# Parse database configuration from $DATABASE_URL
import dj_database_url

# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
# }
# }
DATABASES = {}
DATABASES['default'] = dj_database_url.config()

# Honor the 'X-Forwarded-Proto' header for request.is_secure()
Expand All @@ -68,8 +76,8 @@
ALLOWED_HOSTS = ['*']

# Static asset configuration
import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/
STATIC_ROOT = 'staticfiles'
STATIC_URL = '/static/'

Expand All @@ -89,9 +97,3 @@
USE_L10N = True

USE_TZ = True


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/

STATIC_URL = '/static/'
Binary file modified django_poll_app/settings.pyc
Binary file not shown.
Empty file modified django_poll_app/urls.py
100644 → 100755
Empty file.
Empty file modified django_poll_app/urls.pyc
100644 → 100755
Empty file.
Empty file modified django_poll_app/wsgi.py
100644 → 100755
Empty file.
Binary file modified django_poll_app/wsgi.pyc
Binary file not shown.
Empty file modified polls/__init__.py
100644 → 100755
Empty file.
Empty file modified polls/__init__.pyc
100644 → 100755
Empty file.
Empty file modified polls/admin.py
100644 → 100755
Empty file.
Empty file modified polls/admin.pyc
100644 → 100755
Empty file.
Empty file modified polls/migrations/0001_initial.py
100644 → 100755
Empty file.
Empty file modified polls/migrations/0001_initial.pyc
100644 → 100755
Empty file.
Empty file modified polls/migrations/__init__.py
100644 → 100755
Empty file.
Empty file modified polls/migrations/__init__.pyc
100644 → 100755
Empty file.
Empty file modified polls/models.py
100644 → 100755
Empty file.
Empty file modified polls/models.pyc
100644 → 100755
Empty file.
Empty file modified polls/templates/polls/index.html
100644 → 100755
Empty file.
Empty file modified polls/tests.py
100644 → 100755
Empty file.
Empty file modified polls/urls.py
100644 → 100755
Empty file.
Empty file modified polls/urls.pyc
100644 → 100755
Empty file.
Empty file modified polls/views.py
100644 → 100755
Empty file.
Empty file modified polls/views.pyc
100644 → 100755
Empty file.
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
altgraph==0.10.1
bdist-mpkg==0.4.4
bonjour-py==0.3
dj-database-url==0.3.0
dj-static==0.0.6
Django==1.7.4
Flask==0.10.1
gunicorn==19.2.1
itsdangerous==0.24
Jinja2==2.7.3
macholib==1.5
MarkupSafe==0.23
matplotlib==1.1.1
modulegraph==0.10.1
numpy==1.6.2
Expand Down Expand Up @@ -46,7 +53,9 @@ PyRSS2Gen==1.0.0
python-dateutil==1.5
pytz===2012d
scipy==0.11.0
static3==0.5.1
Twisted==12.2.0
vboxapi==1.0
Werkzeug==0.10.1
xattr==0.6.4
zope.interface==3.8.0
Empty file modified templates/admin/404.html
100644 → 100755
Empty file.
Empty file modified templates/admin/500.html
100644 → 100755
Empty file.
Empty file modified templates/admin/actions.html
100644 → 100755
Empty file.
Empty file modified templates/admin/app_index.html
100644 → 100755
Empty file.
Empty file modified templates/admin/auth/user/add_form.html
100644 → 100755
Empty file.
Empty file modified templates/admin/auth/user/change_password.html
100644 → 100755
Empty file.
Empty file modified templates/admin/base.html
100644 → 100755
Empty file.
Empty file modified templates/admin/base_site.html
100644 → 100755
Empty file.
Empty file modified templates/admin/change_form.html
100644 → 100755
Empty file.
Empty file modified templates/admin/change_list.html
100644 → 100755
Empty file.
Empty file modified templates/admin/change_list_results.html
100644 → 100755
Empty file.
Empty file modified templates/admin/date_hierarchy.html
100644 → 100755
Empty file.
Empty file modified templates/admin/delete_confirmation.html
100644 → 100755
Empty file.
Empty file modified templates/admin/delete_selected_confirmation.html
100644 → 100755
Empty file.
Empty file modified templates/admin/edit_inline/stacked.html
100644 → 100755
Empty file.
Empty file modified templates/admin/edit_inline/tabular.html
100644 → 100755
Empty file.
Empty file modified templates/admin/filter.html
100644 → 100755
Empty file.
Empty file modified templates/admin/includes/fieldset.html
100644 → 100755
Empty file.
Empty file modified templates/admin/index.html
100644 → 100755
Empty file.
Empty file modified templates/admin/invalid_setup.html
100644 → 100755
Empty file.
Empty file modified templates/admin/login.html
100644 → 100755
Empty file.
Empty file modified templates/admin/object_history.html
100644 → 100755
Empty file.
Empty file modified templates/admin/pagination.html
100644 → 100755
Empty file.
Empty file modified templates/admin/popup_response.html
100644 → 100755
Empty file.
Empty file modified templates/admin/prepopulated_fields_js.html
100644 → 100755
Empty file.
Empty file modified templates/admin/search_form.html
100644 → 100755
Empty file.
Empty file modified templates/admin/submit_line.html
100644 → 100755
Empty file.

0 comments on commit 035dd68

Please sign in to comment.