[Oi-commits] r202 - trunk

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Tue Jun 12 14:34:30 EEST 2007


Author: ahmet
Date: Tue Jun 12 14:34:30 2007
New Revision: 202

Modified:
   trunk/settings.py
Log:
pagination settings

Modified: trunk/settings.py
=================================================================
--- trunk/settings.py	(original)
+++ trunk/settings.py	Tue Jun 12 14:34:30 2007
@@ -5,16 +5,19 @@
 # Licensed under the GNU General Public License, version 2.
 # See the file http://www.gnu.org/copyleft/gpl.txt.
 
+#FIXME: Turn debug mode to False when the development ends.
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG
 
 ADMINS = ()
 MANAGERS = ADMINS
 
+#Site configuration
 SITE_NAME = 'Özgürlük için...'
 WEB_URL = 'http://django'
 DOCUMENT_ROOT = '/home/ahmet/public_html/oi'
 
+#Database settings
 DATABASE_ENGINE = 'sqlite3'
 DATABASE_NAME = '%s/db/oi.db' % DOCUMENT_ROOT
 DATABASE_USER = ''
@@ -22,6 +25,12 @@
 DATABASE_HOST = ''
 DATABASE_PORT = ''
 
+#Pagination
+USER_PER_PAGE = 10
+PACKAGE_PER_PAGE = 10
+FS_PER_PAGE = 10
+GAME_PER_PAGE = 10
+
 # For extending User class
 AUTH_PROFILE_MODULE = 'st.UserProfile'
 


More information about the Oi-commits mailing list