Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Removing some old Gunicorn stuff and refactors for Django 1.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksergeant committed Nov 6, 2013
1 parent 95f56ab commit e0eac77
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 307 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -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
Expand Down
28 changes: 0 additions & 28 deletions debug_wsgi.py

This file was deleted.

3 changes: 0 additions & 3 deletions gk

This file was deleted.

3 changes: 0 additions & 3 deletions gs

This file was deleted.

28 changes: 0 additions & 28 deletions gunicorn.conf.py

This file was deleted.

15 changes: 7 additions & 8 deletions manage.py
@@ -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)
235 changes: 0 additions & 235 deletions migrate.py

This file was deleted.

1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -17,6 +17,7 @@ parsedatetime
psycopg2
pyelasticsearch==0.3
python-memcached
python-mimeparse
python-postmark
pyyaml
raven
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Expand Up @@ -138,7 +138,7 @@
'utils.backends.EmailOrUsernameModelBackend',
)

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

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

Expand Down

0 comments on commit e0eac77

Please sign in to comment.