I should mention that the mysite app is sister to manage.py, so the
structure is like this...
my prod/
manage.py
my site/
settings.py
urls.py
my site app/
models.py
...
On Tuesday, 25 June 2013 09:58:08 UTC-4, sean nowlan wrote:
>
> From the Django site, you can have in the urls.py a class based view, and
> I currently use this for my Django project. However, when I use
> pyinstaller to run over this, the django-import-finder.py is not able to
> navigate the second line and I get an ImportError. Has this been tested to
> work, is there something I can modify to get this to work properly?
>
> Any advice would be great!
>
>
>
> from django.conf.urls import patterns, urlfrom mysite.views import
> ClassBasedView
> urlpatterns = patterns('',
> url(r'^myview/$', ClassBasedView.as_view()),)
>
>
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.