Skip to content
Permalink
Browse files

Removing some old Gunicorn stuff and refactors for Django 1.6.

  • Loading branch information
nicksergeant committed Nov 6, 2013
1 parent 95f56ab commit e0eac77e511023ea531dd3a50b5a0b935adc5760
Showing with 10 additions and 307 deletions.
  1. +1 −1 LICENSE
  2. +0 −28 debug_wsgi.py
  3. +0 −3 gk
  4. +0 −3 gs
  5. +0 −28 gunicorn.conf.py
  6. +7 −8 manage.py
  7. +0 −235 migrate.py
  8. +1 −0 requirements.txt
  9. +1 −1 settings.py
@@ -1,4 +1,4 @@
Copyright (c) 2012 Nick Sergeant
Copyright (c) 2009-2013 Nick Sergeant

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

This file was deleted.

3 gk

This file was deleted.

3 gs

This file was deleted.

This file was deleted.

@@ -1,11 +1,10 @@
#!/usr/bin/env python
from django.core.management import execute_manager
try:
import settings # Assumed to be in the same directory.
except ImportError:
import sys
sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
sys.exit(1)
import os
import sys

if __name__ == "__main__":
execute_manager(settings)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")

from django.core.management import execute_from_command_line

execute_from_command_line(sys.argv)

This file was deleted.

@@ -17,6 +17,7 @@ parsedatetime
psycopg2
pyelasticsearch==0.3
python-memcached
python-mimeparse
python-postmark
pyyaml
raven
@@ -138,7 +138,7 @@
'utils.backends.EmailOrUsernameModelBackend',
)

ROOT_URLCONF = 'snipt.urls'
ROOT_URLCONF = 'urls'

PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))

0 comments on commit e0eac77

Please sign in to comment.
You can’t perform that action at this time.