Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kenanbek/tutorial-django-ajax
Using AJAX in Django applications.
https://github.com/kenanbek/tutorial-django-ajax
Last synced: 13 days ago
JSON representation
Using AJAX in Django applications.
- Host: GitHub
- URL: https://github.com/kenanbek/tutorial-django-ajax
- Owner: KenanBek
- License: gpl-3.0
- Created: 2014-07-23T10:36:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-13T18:03:30.000Z (over 10 years ago)
- Last Synced: 2024-05-02T04:29:08.370Z (8 months ago)
- Language: Python
- Size: 395 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tutorial on Python, Django and AJAX
-----------------------------------It is Django based project with contains sample applications on different aspects of using AJAX in Python and Django environment.
I have a little bit changed structure of default Django project. Main change is renaming main project folder to **app**. It contains:
* **settings.py** - main settings file
* **urls.py** - main URL configuration file
* **wsgi.py** - WSGI application moduleSource code for each part of tutorial is in separated application folders (eg. sample1, sample2, etc.).
# Using
To properly work with this example you need to be installed following libraries:
* Python 2.7
* Django 1.6Used libraries:
* jQuery 1.11.1
* Bootstrap 2.1.1 (Sample 2)
* jQuery twitter bootstrap wizard plugin 1.0 (Sample 2)To run samples just execute following commands on your favorite console:
python manage.py syncdb
python manage.py runserverFirst command will create database if it is not exists or migrate data if it is exists. Second command will run local server on address http://localhost:8000/.
# Samples
Here is list of samples:
* **Sample 1** - Very simple example of using AJAX in Python and Django ([read article](http://kenanbek.me/post/very-simple-example-on-using-ajax-in-python-and-django/))
* **Sample 2** - Form Wizard with AJAX data processing
* **Sample 3** - Coming Soon :)