Hi Dylan.

Django 1.0 not support newforms.

plese read follow document.
http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide/#use-django-forms-instead-of-newforms

replace from
  from django import newforms as forms
to
  from django import forms

Thanks.
Kosei.

On 11月5日, 午前1:20, Dylan Lorimer <[EMAIL PROTECTED]> wrote:
> Hi Kosei -
>
> Any idea why I can't import newforms in your package?
>
> On Nov 3, 10:38 pm, Kitahara <[EMAIL PROTECTED]> wrote:
>
> > Hi Dylan.
>
> > I think ,it will work for you.http://github.com/Surgo/django-on-gae/
> > it work for zip archiveddjango1.0 onGAEwith Helper.
>
> > thank you.
>
> > Kosei.
>
> > On Nov 3, 2:07 pm, Dylan Lorimer <[EMAIL PROTECTED]> wrote:
>
> > > So I'm trying to get the app enginedjangohelper working with the
> > > zipfile example fordjango1.0, and running into a problem.
>
> > > I should also mention that I'm using the bootstrap method in theGAE
> > >djangohelper readme. I'm also using version 66 of thedjangohelper
> > > (pulled via svn.)
>
> > > I created thedjango.zip following the exact instructions 
> > > athttp://code.google.com/appengine/articles/django10_zipimport.html.
>
> > > So, the trouble I'm having is that after dropping indjango.zip into
> > > the root level of my application folder, I start the app server, and
> > > in the browser see the following error(s):
>
> > > ########
> > > Traceback (most recent call last):
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/tools/dev_appserver.py", line 2413, in _HandleRequest
> > >     base_env_dict=env_dict)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/tools/dev_appserver.py", line 348, in Dispatch
> > >     base_env_dict=base_env_dict)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/tools/dev_appserver.py", line 1848, in Dispatch
> > >     self._module_dict)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/tools/dev_appserver.py", line 1766, in ExecuteCGI
> > >     reset_modules = exec_script(handler_path, cgi_path, hook)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/tools/dev_appserver.py", line 1664, in
> > > ExecuteOrImportScript
> > >     script_module.main()
> > >   File "/Users/edylan/Development/JaceyPhotographs2/main.py", line 48,
> > > in main
> > >     util.run_wsgi_app(application)
> > >   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> > > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> > > google/appengine/ext/webapp/util.py", line 76, in run_wsgi_app
> > >     result = application(env, _start_response)
> > >   File "/Users/edylan/Development/JaceyPhotographs2/django.zip/django/
> > > core/handlers/wsgi.py", line 228, in __call__
> > >   File "/Users/edylan/Development/JaceyPhotographs2/django.zip/django/
> > > core/handlers/base.py", line 40, in load_middleware
> > >     continue
> > > ImproperlyConfigured: Error importing middleware
> > >django.contrib.auth.middleware: "No module named
> > > contrib.auth.middleware"
>
> > > ########
> > > looks like the error is in mydjango.zip that I'm creating, but I'm
> > > not sure how to fix this. Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to