Skip to content
Django data import
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data_import
import_data
.gitignore
README.md
db.sqlite3
manage.py
requirements.txt

README.md

Django app data import

Management commands to import data from different sources

Setup

  • Create virtual enviroment with python3

  • start virtual enviroment

    • source venv/bin/activate
  • install requirements

    • pip install requirements.txt

import data

  • import data from url

    • run command: python manage.py import_from_url
  • import data from local json file

    • run command: python manage.py import_from_json_file
  • import data from local csv file

    • run command: python manage.py import_from_csv
You can’t perform that action at this time.