Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.43 KB

README.md

File metadata and controls

56 lines (35 loc) · 1.43 KB

Django Boilerplate - Simple Ajax Crud

A simple django application based on this example How to Implement CRUD Using Ajax and Json and added some simple google maps functionality

Running Locally

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

References

Authors