Stranvr ist the project made with startproject and db_testing is an app 
made with startapp.

So:
ProjectRoot
-StranvrProject
--urls.py
--settings.py
--wsgi.py
-db_testing
--views.py
--__init__.py
--models.py
--admin.py
--apps.py


also the app is added to settings.py

Am Montag, 16. Januar 2017 22:24:30 UTC+1 schrieb Andréas Kühne:
>
> What does the project structure look like?
>
> Is Stranvr the name of the project?
>
> It looks to me like you haven't created an app - or have you called your 
> app "db_testing" and the project "Stranvr"?
>
> Because you first have to create you project with "django-admin.py 
> startproject <project_name>" and then within that created directory run 
> either "./manage.py startapp <app_name>" or "django-admin.py startapp 
> <app_name>".
>
> Regards,
>
> Andréas
>
> 2017-01-16 21:23 GMT+01:00 'Peter Müller' via Django users <
> django...@googlegroups.com <javascript:>>:
>
>> Well else python doesn't find the view.py file?
>>
>> Am Montag, 16. Januar 2017 21:20:53 UTC+1 schrieb Daniel Roseman:
>>>
>>> On Monday, 16 January 2017 15:53:56 UTC, Peter Müller wrote:
>>>>
>>>> For the traceback: http://pastebin.com/Wy7And6M
>>>> And the views configuration: http://pastebin.com/q0V3bQay
>>>>
>>>>
>>>> thanks
>>>>
>>>> Peter
>>>>
>>>
>>>
>>> The traceback shows that you are importing your views module in the 
>>> __init__.py of your app. Don't do that. 
>>> -- 
>>> DR.
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com <javascript:>.
>> To post to this group, send email to django...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/d615e2de-e205-4536-bc08-771e62b59e0a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/d615e2de-e205-4536-bc08-771e62b59e0a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/92ee79d1-faf1-41d1-89ee-e2dc213f60b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to