Adding admin access for external users

2015-03-27 Thread Murthy Sandeep
Hi I am setting up an admin user account to manage my Django app on my local machine, but would it be possible for me to also give admin access to external users using their own machines? My machine is not part of a LAN/WAN, just standalone, but I am thinking that to enable this I should provide

Data migration script populating db table - testing

2015-03-22 Thread Murthy Sandeep
Hi I have created an data migration script for populating one of app db tables with data from a JSON file. First I ran python manage.py makemigrations --empty TPP_App (‘TPP_App’ is the name of my app) and then I added a custom method called populate_db which will use bulk_create to add mu

Re: Data migration using RunPython

2015-03-05 Thread Murthy Sandeep
further cause my knowledge of this area > is reduced. > > Have a good one > > On 03/05/2015 01:20 AM, Murthy Sandeep wrote: >> I am working on a data migration for my Django app to populate >> the main table in the db with data that will form the mainstay of >> the app -

Data migration using RunPython

2015-03-04 Thread Murthy Sandeep
I am working on a data migration for my Django app to populate the main table in the db with data that will form the mainstay of the app - this is persistent/permanent data that may added to but never deleted. My reference is the Django 1.7 documentation and in particular an example on page https

Re: Populating Django app db with JSON data

2015-03-04 Thread Murthy Sandeep
Hi thanks for the info. The docs also say that RunPython runs “custom Python code in a historical context”. What does that mean exactly? It seems related to the apps and schema_editor arguments passed to the custom method that will be called by RunPython - is this something like a snapshot of t