
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
django-dynamic-formsets
Advanced tools
A lightweight plugin for managing Django formsets with jQuery.
This jQuery plugin helps you create more usable Django formsets by allowing clients to add and remove forms on the client-side.
It was primarily developed by Stanislaus Madueke, and re-packaged as a static Django app (with a couple shiny new enhancements and more docs) by The Dallas Morning News.
This version of this plugin (like its predecessor) is available under the BSD License.
```bash
pip install django-dynamic-formsets
```
2. Then add dynamic_formsets
to your INSTALLED_APPS
setting and run python manage.py collectstatic
.
```Django
{% load static %}
...
{% comment %}
(Your templated DOM here, possibly something like this:)
{% endcomment %}
<form id="my-form" method="post" action="">
{% csrf_token %}
{{ formset.media }}
{% for form in formset %}
<div class="individual-form">
{{ form.as_p }}
</div>
{% endfor %}
</form>
...
<script src="{% static "dynamic_formsets/jquery.formset.js" %}" type="text/javascript"> </script>
<script type="text/javascript">
$('.individual-form').formset();
</script>
```
Once you've followed steps 1 to 3 above, you're ready to customize the formset-handling javascript that's now on your page.
Detailed information about all the settings you can change in the javascript will be added to this repo very soon.
FAQs
A lightweight plugin for managing Django formsets with jQuery.
We found that django-dynamic-formsets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.