Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.