
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
A Django reusable app to extend forms and provide UI with templates available for Bootstrap and Tailwind CSS.
https://pypi.org/project/django-ui-forms/
You can install this package via pip:
pip install django-ui-forms
To use this package in your Django project, follow these steps:
django_ui_forms
to your INSTALLED_APPS
in your Django settings:INSTALLED_APPS = [
...
'django_ui_forms',
]
BootstrapBaseUiForms
or TailwindBaseUiForms
:from django import forms
from django_ui_forms.forms import BootstrapBaseUiForms, TailwindBaseUiForms
class MyForm(BootstrapBaseUiForms, forms.Form):
my_field = forms.CharField(label='My Field')
class MyModelForm(TailwindBaseUiForms, forms.ModelForm):
class Meta:
model = MyModel
fields = '__all__'
from django.forms.renderers import TemplatesSetting
class CustomFormRenderer(TemplatesSetting):
form_template_name = "bootstrap_forms_snipprt.html" # for Bootstrap
form_template_name = "tailwind_forms_snipprt.html" # for Tailwind
FORM_RENDERER = 'your_project_name.settings.CustomFormRenderer'
See the examples/
directory for a complete example of how to use this package in a Django project.
Tests are Under Development
Contributions are welcome! Please submit a pull request or open an issue.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A Django reusable app to extend forms with Bootstrap and Tailwind CSS support
We found that django-ui-forms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.