Skip to main content

Django Spine

Spine plugin for Django

Installation

edit settings.py

# set (subcommand, spine, pipeline) package.
INSTALLED_APPS = (
    # external
    "subcommand",
    "spine",
    'pipeline',

    # applications
    "your_app" #
)

# set static directory for your app.
PIPELINE_JS = {
    'application': {
        'source_filenames': (
            'js/*.js',
            'js/spine/*.js',
            'js/spine/**/*.js',
            'js/your_app/lib/*.coffee',
            'js/your_app/*.coffee',
            'js/your_app/models/*.coffee',
            'js/your_app/controllers/*.coffee',
            'js/your_app/views/**/*.eco',
        ),
        'output_filename': 'js/application.r?.js'
    }
}

# set Eco Compiler
PIPELINE_COMPILERS = (
    'pipeline.compilers.coffee.CoffeeScriptCompiler',
    'spine.compiler.EcoCompiler',  # this compiler.
)

Run the below for generating spine’s project.

$ python manage.py generate spine:new your_app
$ python manage.py generate spine:scaffold your_app example name content message

Or allows removing.

$ python manage.py destroy spine:scaffold your_app example name content
$ python manage.py destroy spine:new your_app

Examples

For more information, please see the Example.

Setup

$ pip install django-spine

Documentation

django-spine.readthedocs.org

License

MIT License

Metadata

Release files for django-spine 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-spine 0.3.3
File Size Uploaded Provenance Actions
django-spine-0.3.3.tar.gz 410.1 kB Without provenance Details for django-spine-0.3.3.tar.gz

Release files / django-spine-0.3.3.tar.gz

Download URL django-spine-0.3.3.tar.gz
Size 410.1 kB
Tags Source
SHA-256 checksum
How to use checksums
08ff0da15e2d8d957256f5cd768574f3cc89a92e5cced68a371417280fcaadec
BLAKE2b-256 checksum
How to use checksums
ec3d08337b52a10123f36a853c8ed312b443c01f471eceb5ba9f11e4271f4f52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-spine 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page