MoGo (Mobile Django) Code
Status: Pre-Alpha
Brought to you by:
iqbalabdullah
| File | Date | Author | Commit |
|---|---|---|---|
| bin | 2009-08-22 | iqbalabdullah | [r1] Initial import |
| data | 2009-08-22 | iqbalabdullah | [r1] Initial import |
| mamopublic | 2009-08-30 | iqbalabdullah | [r19] Changed all referenceses to mamopublic |
| LICENSE | 2009-08-22 | iqbalabdullah | [r1] Initial import |
| README | 2009-08-30 | iqbalabdullah | [r17] Moved all paths to mamopublic |
| epydoc.conf | 2009-08-30 | iqbalabdullah | [r17] Moved all paths to mamopublic |
| gendocs.sh | 2009-08-30 | iqbalabdullah | [r17] Moved all paths to mamopublic |
| setup.py | 2009-08-30 | iqbalabdullah | [r17] Moved all paths to mamopublic |
MoGo (Mobile Django)
----------------------
Addons to the Django Framework for mobile clients.
MoGo was originally built to handle JP specific issues, but can be expanded to
handle under locales as well
Project Website:
https://sourceforge.net/projects/mobiledjango/
Requirements:
* MoGo requires the python-iplib package, available from
http://erlug.linux.it/~da/soft/iplib/
To install:
* run "sudo python setup.py install" in the root directory
Tips on various scripts:
* gendocs.sh will automatically create epydocs files under the mamopublic/mogo/docs
directory
This project is released under the OSI BSD license
Please read LICENSE for more information
HOW TO USE
----------------------
Insert these variables into your settings.py:
MOGO_JP_MOBILE_VERIFY_OPTS = ( "IP", "UA", )
DEFAULT_CHARSET = 'shift_jis'
If you're building a 公式サイト、you might want to have this too
MOGO_JP_DOCOMO_NULLGW_VAR = "uid"
Set your middleware to something like:
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'mamopublic.mogo.jp.d.mware.mobile.MobileIdentify',
'mamopublic.mogo.jp.d.mware.mobile.MobilePreSession',
'django.contrib.sessions.middleware.SessionMiddleware',
'mamopublic.mogo.jp.d.mware.mobile.MobileSession',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
Make sure MobileIdentify, MobilePreSession, SessionMiddleware and MobileSession are in the order above