🤑 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
    • 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
  • 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
  • Nyasha Julius Choga
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nyasha Julius Choga
    Full Stack JavaScript Techdegree Student 12,569 Points

    Finally, create a function named initialize. Your initialize() function should connect to the database and then create t

    Posted September 16, 2020 12:29am by Nyasha Julius Choga
    .a{fill-rule:evenodd;}techdegree
    Nyasha Julius Choga
    Full Stack JavaScript Techdegree Student 12,569 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Emily Strobl
    Emily Strobl
    5,429 Points

    initialize part 3

    Posted November 1, 2019 5:48pm by Emily Strobl
    Emily Strobl
    5,429 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Theo kootlogele
    Theo kootlogele
    5,620 Points

    challenge 3

    Posted October 14, 2019 9:11am by Theo kootlogele
    Theo kootlogele
    5,620 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • chen liu
    chen liu
    3,188 Points

    Couldn't find what's wrong with my code, why it said it looks like Task 1 is no longer passed

    Posted March 19, 2018 10:09am by chen liu
    chen liu
    3,188 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Idan shami
    Idan shami
    13,251 Points

    initialize database create tables challenge[nevermind]

    Posted September 23, 2017 5:38pm by Idan shami
    Idan shami
    13,251 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Vic A
    Vic A
    5,452 Points

    I see nothing wrong with this?

    Posted May 1, 2017 8:14pm by Vic A
    Vic A
    5,452 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Lucas Navalesi
    Lucas Navalesi
    3,600 Points

    Using Databases in Python ( AND A FEW QUESTIONS MORE)

    Posted February 27, 2017 11:02pm by Lucas Navalesi
    Lucas Navalesi
    3,600 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • jamalbacchus
    PLUS
    jamalbacchus
    Courses Plus Student 6,664 Points

    Bummer! name 'initialize' is not defined. how this doesn't pass?

    Posted February 21, 2017 4:40am by jamalbacchus
    jamalbacchus
    Courses Plus Student 6,664 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Munesh Raj Lakhey
    Munesh Raj Lakhey
    4,408 Points

    Do not understand the following tracebacke error in my diary.py

    Posted March 29, 2016 2:59pm by Munesh Raj Lakhey
    Munesh Raj Lakhey
    4,408 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    3 Answers

  • anhedonicblonde
    anhedonicblonde
    3,133 Points

    Finally, create a function named initialize. your initialize() function should connect to the database challenges..

    Posted February 12, 2016 7:03pm by anhedonicblonde
    anhedonicblonde
    3,133 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • MUZ140638 Racheal Bandirai
    MUZ140638 Racheal Bandirai
    2,742 Points

    whats wrong with this code

    Posted July 21, 2015 8:21am by MUZ140638 Racheal Bandirai
    MUZ140638 Racheal Bandirai
    2,742 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Stephen Johnston
    Stephen Johnston
    1,378 Points

    name 'true' is not defined

    Posted June 18, 2015 5:12pm by Stephen Johnston
    Stephen Johnston
    1,378 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Tara Edwards
    Tara Edwards
    6,521 Points

    Is anyone getting this error in Initialize Database Create Table?--solved

    Posted May 31, 2015 4:53pm by Tara Edwards
    Tara Edwards
    6,521 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    1 Answer

  • Wolverine .py
    Wolverine .py
    2,513 Points

    Create a function named initialize

    Posted May 10, 2015 8:42pm by Wolverine .py
    Wolverine .py
    2,513 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    2 Answers

  • Travis Bailey
    Travis Bailey
    13,675 Points

    [SOLVED] Stuck on step 3 with error: 'str' object has no attribute '_meta'

    Posted March 17, 2015 9:19pm by Travis Bailey
    Travis Bailey
    13,675 Points
    • Python
    • Using Databases in Python
    • Our Diary App
    • Initialize Database & Create Tables

    2 Answers

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.