CodeYellowBV / django-binder

A framework based on Django for SPA webapps with a REST-like API
MIT License
14 stars 18 forks source link

Django-Binder

Build Status codecov

Code Yellow backend framework for SPA webapps with REST-like API.

This framework is a work-in-progress. There is no complete documentation yet. We are using it for a couple of projects and fine-tuning it.

Running the tests

There are two ways to run the tests:

The tests are set up in such a way that there is no need to keep migration files. The setup procedure in tests/__init__.py handles the preparation of the database by directly calling some build-in Django commands.

To only run a selection of the tests, use the -s flag like ./setup.py test -s tests.test_some_specific_test.

MySQL support

MySQL is supported, but only with the goal to replace it with PostgreSQL. This means it has a few limitations:

DATABASES = {
    'default': {
        'OPTIONS': {
            'init_command': 'SET SESSION group_concat_max_len = 1000000',
        },
    },
}