Google Map API helper app for Djangoが、まだまだ動きません。

Google Map API helper app for Djangoを確認したいのですが、まだまだ動作しません。

Google Map API helper app for Django


  1. add googlemap application in a django project
  2. edit googlemap/settings.py: set SECRET_KEY (get a key at http://code.google.com/apis/maps/signup.html)
  3. import googlemap/settings.py in the main settings.py: from googlemap.settings import *
  4. add googlemap urls: (r'^mysite/gmap/', include('mysite.googlemap.urls')),

carpoolの階層で python manage.py runserver を行うと
Error: Can't find the file 'settings.py' in the directory containing 'manage.py'.
 It appears you've customized things.
You'll have to run django-admin.py, passing it your settings module.
(If the file settings.py does indeed exist, it's causing an ImportError somehow.)

settings.pyの内容を確認するために python settings.py を行うと
Traceback (most recent call last):
  File "settings.py", line 91, in <module>
    from geo.googlemap.settings import *
  File "/<path-to-django>/carpool/geo/googlemap/settings.py", line 6, in <module>
    from settings_local import *
ImportError: No module named settings_local

settings_local.py って何ですか?
そもそも、Google Map API helper app for Djangoは1.24では動かないのでしょうか?

0 件のコメント:

人気の投稿 (過去 30 日間)