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 6727125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:00:40+00:00 2026-05-26T10:00:40+00:00

I have a sqlite db with some records that I want to import into

  • 0

I have a sqlite db with some records that I want to import into my Django non-rel db models.

Is the best way just to export the sqlite as a csv and then import the csv?

Something like suggested here: how to import csv data into django models or here: http://djangosnippets.org/snippets/633/

  • 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-05-26T10:00:40+00:00Added an answer on May 26, 2026 at 10:00 am

    You can create a simple (regular) django project and use inspectdb to create the initial models from your sqlite db, then use dumpdata to save it to files. You can later use loaddata in your new project to load it into your models.

    If you need further processing, you can create a small script that copies data from the old models to the new models.

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

Sidebar

Related Questions

I have to insert 8000+ records into a SQLite database using Django's ORM. This
I have an sqlite database with over 400k records. I have just found that
I have heard that prepared statements with SQLite should improve performance. I wrote some
I have some sqlite querys that are slowding my iPhone App. I have 2
I have some code that essentially does what I want but I always like
I have a SQLite database that I wish to read records from and execute
I just discovered that my programmer actually loaded the entire SQLite database into lists
I have some codes read the query results from sqlite: while (sqlite3_step(statement) == SQLITE_ROW)
I'm using a Java wrapper for SQLite called SQLiteJDBC - this may have some
We have an Sqlite DB on our Linux/PHP production webserver. What is the best

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.