==============
django-backend
==============

Installation
============

Add the following apps to your ``INSTALLED_APPS`` settings:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'django.contrib.auth',
        'django.contrib.sites',
        'django.contrib.staticfiles',
        ...
        'django_backend',
        'django_ajax',
        'django_assets',
        'floppyforms',
    )

Add the following line to your ``urls.py``:

.. code-block:: python

    url(r'^backend/', include(django_backend.site.get_urls(), namespace='django_backend')),

TODO: continue, propably not complete yet

==============
django-backend
==============

Installation
============

Add the following apps to your ``INSTALLED_APPS`` settings:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'django.contrib.auth',
        'django.contrib.sites',
        'django.contrib.staticfiles',
        ...
        'django_backend',
        'django_ajax',
        'django_assets',
        'floppyforms',
    )

Add the following line to your ``urls.py``:

.. code-block:: python

    url(r'^backend/', include(django_backend.site.get_urls(), namespace='django_backend')),

TODO: continue, propably not complete yet

Development
===========

Run tests
---------

.. code-block:: bash

    # Set everything up. You want to do this in a virtualenv.
    pip install -r requirements/tests.txt
    python setup.py develop

    # Run the tests. Should be executed in the root of the project.
    py.test

Add docs on how to run the tests
Add docs on how to run the tests
