New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

crispy-forms-primer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crispy-forms-primer

Django application to add 'django-crispy-forms' layout objects for Github Primer

  • 0.4.4
  • PyPI
  • Socket score

Maintainers
1

crispy-forms-primer

Introduction

This is a Django application to add django-crispy-forms <https://github.com/django-crispy-forms/django-crispy-forms>__ layout objects for Primer <https://github.com/primer/css>__.

⚠ This app does not include Primer <https://github.com/primer/primer>__ assets, you will have to install them yourself in your projects.

❗ This is pre-alpha software, I will be amending the initial commit for a while. You may not want to use it in production environment.

Prerequisites

  • django-crispy-forms <https://github.com/django-crispy-forms/django-crispy-forms>__

Installation

The best way to install is by using pip:

.. code:: shell

$ pip install crispy-forms-primer

Or you could install the development version directly from GitHub:

.. code:: shell

$ pip install git+https://github.com/galeo/crispy-forms-primer

Add the app in INSTALLLED_APPS like this:

.. code:: python

INSTALLED_APPS = ( ... 'crispy_forms', 'crispy_forms_primer', ... )

Change crispy template pack settings to start using it in your forms:

.. code:: python

Default layout to use with 'crispy_forms'

CRISPY_TEMPLATE_PACK = 'primer'

All other django-crispy-forms <https://github.com/django-crispy-forms/django-crispy-forms>__ settings option apply, see its documentation for more details.

License

MIT License

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc