A simple django application based on this example How to Implement CRUD Using Ajax and Json and added some simple google maps functionality
Clone the repository::
git clone https://github.com/scedar/django_boilerplate.git
Installing the dependencies::
pip install -r requirements.txt
Set your Google API key in you settings file::
GEOPOSITION_GOOGLE_MAPS_API_KEY = 'YOUR_API_KEY'
API keys may be obtained here: https://developers.google.com/maps/documentation/javascript/get-api-key
If you are still using Django <1.3, you are advised to install django-staticfiles
_ for static file serving.
Run the below to create migrations for those changes
python manage.py makemigrations books
Run the below to apply those changes to the database.
python manage.py migrate
To run the application
python manage.py runserver
- Ochomo William - ochomoswill a member of Scedar Technologies Co.