You are here:-code
26 10, 2017

Django management commands from admin interface

By | October 26th, 2017|Categories: code, Django, git, python|0 Comments

This need came up when during app deployment, needed to run some management commands without ssh-ing into the server or using the terminal. Thankfully Django management command can be called anywhere using management.call_command() This is a brief one, view code on GitHub here: https://github.com/NEbere/data-import/tree/master You need to install the admin_plus package with pip, ensure your

17 10, 2017

Import data into database – django app

By | October 17th, 2017|Categories: code, git|Tags: , , , |0 Comments

Steps to import data into your Django app So you have a Django app and want to load data from a URL, a CSV file or a JSON file, I got you :smile: First, create your models, make migrations, migrate and all that setup you have to do, but I'm sure you got all that covered