How to use the wilson/application.usePrimary function in wilson

To help you get started, we’ve selected a few wilson examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github chrisdickinson / wilson / lib / core / codetemplates / project / settings.js View on Github external
var apps = require('wilson/application');

INSTALLED_APPS = {
    'core':apps.usePrimary('wilson/core'),
    'sessions':apps.usePrimary('wilson/contrib/sessions'),
    'auth':apps.usePrimary('wilson/contrib/auth'),
    // install your apps here like so:
    //'myapp':apps.use('projectname/appname')
};

SECRET_KEY = '{{ SECRET_KEY }}';

ROOT_URLCONF = '{{ project_name }}/urls.patterns';

TEMPLATE_LOADERS = [
    'wilson/template/loaders.application',
    'wilson/template/loaders.filesystem',
];

TEMPLATE_DIRECTORIES = [];

MIDDLEWARE = [
github chrisdickinson / wilson / lib / core / codetemplates / project / settings.js View on Github external
var apps = require('wilson/application');

INSTALLED_APPS = {
    'core':apps.usePrimary('wilson/core'),
    'sessions':apps.usePrimary('wilson/contrib/sessions'),
    'auth':apps.usePrimary('wilson/contrib/auth'),
    // install your apps here like so:
    //'myapp':apps.use('projectname/appname')
};

SECRET_KEY = '{{ SECRET_KEY }}';

ROOT_URLCONF = '{{ project_name }}/urls.patterns';

TEMPLATE_LOADERS = [
    'wilson/template/loaders.application',
    'wilson/template/loaders.filesystem',
];

TEMPLATE_DIRECTORIES = [];
github chrisdickinson / wilson / lib / core / codetemplates / project / settings.js View on Github external
var apps = require('wilson/application');

INSTALLED_APPS = {
    'core':apps.usePrimary('wilson/core'),
    'sessions':apps.usePrimary('wilson/contrib/sessions'),
    'auth':apps.usePrimary('wilson/contrib/auth'),
    // install your apps here like so:
    //'myapp':apps.use('projectname/appname')
};

SECRET_KEY = '{{ SECRET_KEY }}';

ROOT_URLCONF = '{{ project_name }}/urls.patterns';

TEMPLATE_LOADERS = [
    'wilson/template/loaders.application',
    'wilson/template/loaders.filesystem',
];

TEMPLATE_DIRECTORIES = [];