Saisissez le code ici... Hey guys, here is my app.yaml :
application: xxxxxxx version: xxxxxxx # -------------------------------- # General settings # -------------------------------- runtime: python api_version: 1 env_variables: DJANGO_SETTINGS_MODULE: 'greendizer.settings' builtins: - datastore_admin: on - remote_api: on error_handlers: - file: default_error.html default_expiration: "15d" # -------------------------------- # HANDLERS # -------------------------------- handlers: - url: /(.*)favicon.ico static_files: static/icons/favicon.ico upload: static/icons/favicon.ico - url: /robots.txt static_files: static/robots.txt upload: static/robots.txt # System and admin tools handlers # -------------------------------- - url: /_ah/queue/deferred script: deferred-main.py login: admin - url: /_ah/remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin - url: /_ereporter.* script: $PYTHON_LIB/google/appengine/ext/ereporter/report_generator.py login: admin # Tools - url: /webtest.* script: main.py login: admin - url: /test.* script: gaeunit/gaeunit.py login: admin # Others end-points # -------------------------------- - url: /static static_dir: static - url: .* script: main.py Where I'll import webapp.template, and why ? I'm using django. Thanks a lot Le vendredi 1 juin 2012 16:28:50 UTC, johnP a écrit : > > On Reitveldt - Guido Van Rossom's example django app, he includes the > following: > > # Import webapp.template. This makes most Django setup issues go > away. > from google.appengine.ext.webapp import template > > So I included that line, and so far so good :) > > johnP > > > > On Jun 1, 4:00 am, Takashi Matsuo <[email protected]> wrote: > > Hi Amine, > > > > Could you show me your app.yaml and how you specify the django version? > > Do you use datastore admin? If yes, how did you setup the datastore > admin? > > > > -- Takashi > > > > On Fri, Jun 1, 2012 at 6:03 PM, Amine Azariz > > > > > > > > > > > > > > > > > > > > <[email protected]> wrote: > > > No one here ? > > > > > Le jeudi 31 mai 2012 18:01:26 UTC, Amine Azariz a écrit : > > > > >> LOGS. > > > > >> File > > >> > "/base/python_runtime/python_lib/versions/third_party/django-1.2/django/tem > plate/loader.py", > > >> line 157, in get_template > > >> template, origin = find_template(template_name) > > >> File > > >> > "/base/python_runtime/python_lib/versions/third_party/django-1.2/django/tem > plate/loader.py", > > >> line 134, in find_template > > >> source, display_name = loader(name, dirs) > > >> File > > >> > "/base/python_runtime/python_lib/versions/third_party/django-1.2/django/tem > plate/loaders/filesystem.py", > > >> line 55, in load_template_source > > >> import warnings > > >> SystemError: Parent module 'django.template.loaders' not loaded > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine" group. > > > To view this discussion on the web visit > > >https://groups.google.com/d/msg/google-appengine/-/ShJCn_Jul1wJ. > > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine?hl=en. > > > > -- > > Takashi Matsuo | Developer Advocate | [email protected] Le vendredi 1 juin 2012 16:28:50 UTC, johnP a écrit : > > On Reitveldt - Guido Van Rossom's example django app, he includes the > following: > > # Import webapp.template. This makes most Django setup issues go > away. > from google.appengine.ext.webapp import template > > So I included that line, and so far so good :) > > johnP > > > > On Jun 1, 4:00 am, Takashi Matsuo <[email protected]> wrote: > > Hi Amine, > > > > Could you show me your app.yaml and how you specify the django version? > > Do you use datastore admin? If yes, how did you setup the datastore > admin? > > > > -- Takashi > > > > On Fri, Jun 1, 2012 at 6:03 PM, Amine Azariz > > > > > > > > > > > > > > > > > > > > <[email protected]> wrote: > > > No one here ? > > > > > Le jeudi 31 mai 2012 18:01:26 UTC, Amine Azariz a écrit : > > > > >> LOGS. > > > > >> File > > >> > "/base/python_runtime/python_lib/versions/third_party/django-1.2/django/tem > plate/loader.py", > > >> line 157, in get_template > > >> template, origin = find_template(template_name) > > >> File > > >> > "/base/python_runtime/python_lib/versions/third_party/django-1.2/django/tem > plate/loader.py", > > >> line 134, in find_template > > >> source, display_name = loader(name, dirs) > > >> File > > >> > "/base/python_runtime/python_lib/versions/third_party/django-1.2/django/tem > plate/loaders/filesystem.py", > > >> line 55, in load_template_source > > >> import warnings > > >> SystemError: Parent module 'django.template.loaders' not loaded > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine" group. > > > To view this discussion on the web visit > > >https://groups.google.com/d/msg/google-appengine/-/ShJCn_Jul1wJ. > > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine?hl=en. > > > > -- > > Takashi Matsuo | Developer Advocate | [email protected] -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/hnd619SvzS8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
