Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7996105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:37:15+00:00 2026-06-04T14:37:15+00:00

Why when i use sql files and load my initial data via sql statements

  • 0

Why when i use sql files and load my initial data via sql statements and when deploying the app on heroku,the sql files aren’t executed and no data found in the database by default,and how to solve it ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:37:16+00:00Added an answer on June 4, 2026 at 2:37 pm

    Heroku does not use the SQLlite database. You have to use Heroku’s shared postgresql database since heroku is a ‘production’ environment.

    When you push a django app up to heroku, it overrides your database settings in your settings.py file. You have to do a syncdb or south migration to your production postresql database your app now uses.

    Btw – you will need to install postgres on your devel environment and pip install psycopg2 for postgres/python support.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Use a Sql Server Compact Edition Database File For Store the Data in
In order to load data (from a CSV file) into an Oracle database, I
I have an azure app on the cloud with a sql azure database. I
In a previous question I enquired about the use of the SQL command LOAD
I want to load SQL script files for my unit tests. As I am
I need to bulk load huge xml files to SQL Server 2005. I decided
I have the following links in a sql dump file(.sql). I need to use
I am wondering if you can use Linq to SQL using a .mdf file
I use an asp (classic) utility file to create json objects from an SQL
I use SQL Server 2005. I have a simple logging table that my web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.