Browse code

use simplest name 'scoreserver'

devnewton authored on 02/01/2012 at 23:34:04
Showing 2 changed files
... ...
@@ -1,4 +1,4 @@
1
-# Django settings for newton_scoreserver project.
1
+# Django settings for scoreserver project.
2 2
 
3 3
 DEBUG = True
4 4
 TEMPLATE_DEBUG = DEBUG
... ...
@@ -10,7 +10,7 @@ ADMINS = (
10 10
 MANAGERS = ADMINS
11 11
 
12 12
 DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
13
-DATABASE_NAME = '/home/devnewton/newton_scoreserver/score.db'             # Or path to database file if using sqlite3.
13
+DATABASE_NAME = '/home/devnewton/scoreserver/score.db'             # Or path to database file if using sqlite3.
14 14
 DATABASE_USER = ''             # Not used with sqlite3.
15 15
 DATABASE_PASSWORD = ''         # Not used with sqlite3.
16 16
 DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
... ...
@@ -64,10 +64,10 @@ MIDDLEWARE_CLASSES = (
64 64
     'django.middleware.transaction.TransactionMiddleware',
65 65
 )
66 66
 
67
-ROOT_URLCONF = 'newton_scoreserver.urls'
67
+ROOT_URLCONF = 'scoreserver.urls'
68 68
 
69 69
 TEMPLATE_DIRS = (
70
-    '/home/devnewton/newton_scoreserver',
70
+    '/home/devnewton/scoreserver',
71 71
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
72 72
     # Always use forward slashes, even on Windows.
73 73
     # Don't forget to use absolute paths, not relative paths.
... ...
@@ -79,7 +79,7 @@ INSTALLED_APPS = (
79 79
     'django.contrib.sessions',
80 80
     'django.contrib.sites',
81 81
     'django.contrib.admin',
82
-    'newton_scoreserver.scorekeeper'
82
+    'scoreserver.scorekeeper'
83 83
 )
84 84
 
85 85
 SCORESERVER_MAX_SCORE_TO_KEEP = 5
... ...
@@ -1,4 +1,4 @@
1
-from newton_scoreserver.scorekeeper.models import Game, Level, Player, Score
1
+from scoreserver.scorekeeper.models import Game, Level, Player, Score
2 2
 from django.contrib import admin
3 3
 
4 4
 admin.site.register(Game)