🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Andrea Wiley
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andrea Wiley
    Python Development Techdegree Graduate 10,888 Points

    is this challenge broken? https://teamtreehouse.com/library/django-basics/what-a-view/first-url

    Posted October 15, 2020 9:18pm by Andrea Wiley
    .a{fill-rule:evenodd;}techdegree seal-36
    Andrea Wiley
    Python Development Techdegree Graduate 10,888 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Benjamin Pettus
    Benjamin Pettus
    6,753 Points

    from . import views (is not working )

    Posted June 17, 2020 10:41pm by Benjamin Pettus
    Benjamin Pettus
    6,753 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Emily Strobl
    Emily Strobl
    5,429 Points

    url challenge

    Posted June 10, 2020 7:32pm by Emily Strobl
    Emily Strobl
    5,429 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • eliamani seushi
    eliamani seushi
    5,782 Points

    We need to add a URL for the view we created in the last challenge. First, though, import the views module from the curr

    Posted September 11, 2019 6:40am by eliamani seushi
    eliamani seushi
    5,782 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Wesley Young
    PLUS
    Wesley Young
    Courses Plus Student 4,624 Points

    Is my answer right

    Posted July 27, 2019 3:23pm by Wesley Young
    Wesley Young
    Courses Plus Student 4,624 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Gaurav Sehrawat
    Gaurav Sehrawat
    955 Points

    i think here from . import views is not working properly.

    Posted October 7, 2018 6:39pm by Gaurav Sehrawat
    Gaurav Sehrawat
    955 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Palak Nihalani
    Palak Nihalani
    54 Points

    i do not know the answer

    Posted September 30, 2018 1:05pm by Palak Nihalani
    Palak Nihalani
    54 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Jamie Sims
    Jamie Sims
    4,317 Points

    Help, i can't seem to get the import function to high light red when I use "." to specify current directory.

    Posted May 23, 2018 11:41am by Jamie Sims
    Jamie Sims
    4,317 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Cristy Lucke
    PLUS
    Cristy Lucke
    Courses Plus Student 3,040 Points

    "Check work" doesn't recognize that I've imported views

    Posted May 18, 2018 3:09pm by Cristy Lucke
    Cristy Lucke
    Courses Plus Student 3,040 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • aashish pasricha
    aashish pasricha
    4,304 Points

    every question still holds django 1.8 structure.and we are currenlty working on django 2.0.2 .I suggest to update it

    Posted April 15, 2018 5:55am by aashish pasricha
    aashish pasricha
    4,304 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Akhilesh Gandhe
    Akhilesh Gandhe
    1,177 Points

    Even after writing the correct url it is showing as task1 is no longer parsing

    Posted March 7, 2018 3:52pm by Akhilesh Gandhe
    Akhilesh Gandhe
    1,177 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • MARIUS RADU
    MARIUS RADU
    1,341 Points

    why from . import views doesn't work?

    Posted April 25, 2017 7:21pm by MARIUS RADU
    MARIUS RADU
    1,341 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Claudio E Rojas V
    PLUS
    Claudio E Rojas V
    Courses Plus Student 167 Points

    I don`t know what is the error adding this url

    Posted April 18, 2017 11:49am by Claudio E Rojas V
    Claudio E Rojas V
    Courses Plus Student 167 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Jose Lara
    Jose Lara
    12,223 Points

    I"m getting an error here, and I don't see the mistake.

    Posted January 16, 2017 10:11pm by Jose Lara
    Jose Lara
    12,223 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    3 Answers

  • B Green
    B Green
    2,126 Points

    Django Basics: making a URL for index views problem

    Posted November 8, 2016 1:54pm by B Green
    B Green
    2,126 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Felix Fels
    Felix Fels
    141 Points

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

    Posted October 23, 2016 11:52am by Felix Fels
    Felix Fels
    141 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    3 Answers

  • arun takkar
    arun takkar
    366 Points

    what's wrong with my code I'm importing the view

    Posted October 10, 2016 7:56am by arun takkar
    arun takkar
    366 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Muthuri Mutuma
    Muthuri Mutuma
    6,019 Points

    importing views

    Posted March 23, 2016 10:35am by Muthuri Mutuma
    Muthuri Mutuma
    6,019 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • Daniele Beyk
    Daniele Beyk
    3,357 Points

    Challenge Tast 2 from . import views urlpatterns = [ url(r'^&', views.index), ]

    Posted January 12, 2016 9:20pm by Daniele Beyk
    Daniele Beyk
    3,357 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • kacperwikiel
    kacperwikiel
    15,795 Points

    urlpatterns in django - what should be url for views.hello_world?

    Posted July 21, 2015 9:53pm by kacperwikiel
    kacperwikiel
    15,795 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

  • kacperwikiel
    kacperwikiel
    15,795 Points

    We need to add a URL for the view we created in the last challenge - was that hello_world view?

    Posted July 20, 2015 4:11am by kacperwikiel
    kacperwikiel
    15,795 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    4 Answers

  • kacperwikiel
    kacperwikiel
    15,795 Points

    How to add url for view in Django?

    Posted July 20, 2015 3:43am by kacperwikiel
    kacperwikiel
    15,795 Points
    • Python
    • Django Basics
    • What a View!
    • First URL

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.