sebastian-ardila / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

ViewDoesNotExist: Tried x in module xxx. Error was: 'str' object has no attribute 'fileno' #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Default gae-helper-for-django installation
2. Tests ok.
3. Creating vew ...

What version of the product are you using? On what operating system?
MacOS 10.6.5, Python 2.5.4, Django-1.2.3, AppEngine SDK 1.4, GAE Helper for 
Django - trunk 

Please provide any additional information below.

urls.py:

from django.conf.urls.defaults import *

urlpatterns = patterns('',
    # Example:
    (r'^xxx/', include('xxx.urls')),

)

xxx/urls.py:

from django.conf.urls.defaults import *

urlpatterns = patterns('xxx.views',
    # Example:
    # (r'^foo/', include('foo.urls')),
    (r'^yyy$', 'yyy'),
)

xxx/views.py:

from xxx.models import Xxx
from django.shortcuts import render_to_response

def yyy():
    b = Xxx()
    res = b.getX()
    date = datetime.today()
    return render_to_response('xxx/yyy.html', {'res':res, 'toDate':date})

Original issue reported on code.google.com by dima...@gmail.com on 4 Dec 2010 at 4:09

GoogleCodeExporter commented 9 years ago
cannot reproduce with supplied information.

Original comment by m...@google.com on 20 Aug 2011 at 5:14