You are here:-git
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

29 05, 2017

Bower install from a forked repository

By | May 29th, 2017|Categories: bower install, git, Hacks|Tags: , |0 Comments

If for any reason you need to fork a repo and want to install your forked version using Bower, follow these steps:  Fork the repository Clone the forked repo on your computer Make desired changes Increment version number in bower.json (create one if none exists e.g. 4.0.1) Commit and push Create a new version tag