Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord