Commits

Sean Powell committed 5c81fa1

changed requirements to use django 1.2.6

  • Participants
  • Parent commits d850538

Comments (0)

Files changed (3)

File examples/provider/settings.py

 
 TEMPLATE_DEBUG = DEBUG = True
 MANAGERS = ADMINS = ()
-#DATABASE_ENGINE = 'sqlite3'
-#DATABASE_NAME = os.path.join(ROOT_PATH, 'testdb.sqlite')
-DATABASE_ENGINE = 'postgresql_psycopg2'
-DATABASE_NAME = 'oauthprovider'
+DATABASES = {
+    "default": {
+        "ENGINE": "django.db.backends.sqlite3", 
+        "NAME": 'dev.db',
+        "USER": "",                             # Not used with sqlite3.
+        "PASSWORD": "",                         # Not used with sqlite3.
+        "HOST": "",                             # Set to empty string for localhost. Not used with sqlite3.
+        "PORT": "",                             # Set to empty string for default. Not used with sqlite3.
+    }
+}
 
 TIME_ZONE = 'America/Chicago'
 LANGUAGE_CODE = 'en-us'

File requirements.txt

-Django==1.3
+Django==1.2.6
 oauth2==1.5.170
 wsgiref==0.1.2
 from setuptools import setup, find_packages
- 
+install_requires = [
+    "Django==1.2.6",
+    "oauth2==1.5.170",
+    "wsgiref==0.1.2",
+]
 setup(
     name='django-oauth-plus',
     version='2.0',
     # svn and CVS by default
     include_package_data=True,
     zip_safe=False,
+    install_requires=install_requires,
     # Tells setuptools to download setuptools_git before running setup.py so
     # it can find the data files under Hg version control.
     setup_requires=['setuptools_hg'],