Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Django Basics What a View! First URL

I cannot see my code ,is that part of the difficulty or a site malfunction ?

I cannot see my code ,is that part of the difficulty or a site malfunction ?

newspaper/urls.py
from django.conf.urls import url
from django.contrib import admin
from . import view

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^$', view.index),
]

3 Answers

Hi Felix

Have you named your views file view? . As part of the course it should be called views. If you have named your file view, is the view actually index ??

Apart from that cannot see anything wrong with the code.

Hi Andreas,

the code is not really the issue, i should have been more explanatory .

So the text editor presented for the quiz, looks not to show the text when i am typing. So i have to write on my text-editor (notepad ++) on my machine ,then copy and paste back to the text editor (all looking blank). So im doing more of a copy and paste to test my code until i get the green success.

Its more like blindly testing my codes . Anyway , i just skipped that quiz to continue.

that's a bit strange, never come across that before. What browser are you using ?

Google Chrome Version 54.0.2840.71 m (64-bit)

Though did not try on other browsers .