django-forms-frontend-validation 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {django_forms_frontend_validation-1.0.0.dist-info → django_forms_frontend_validation-1.0.1.dist-info}/METADATA +4 -3
- {django_forms_frontend_validation-1.0.0.dist-info → django_forms_frontend_validation-1.0.1.dist-info}/RECORD +5 -5
- {django_forms_frontend_validation-1.0.0.dist-info → django_forms_frontend_validation-1.0.1.dist-info}/LICENSE +0 -0
- {django_forms_frontend_validation-1.0.0.dist-info → django_forms_frontend_validation-1.0.1.dist-info}/WHEEL +0 -0
- {django_forms_frontend_validation-1.0.0.dist-info → django_forms_frontend_validation-1.0.1.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: django-forms-frontend-validation
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.1
|
4
4
|
Summary: A Django app for front-end form validation
|
5
|
-
Home-page: https://github.com/andrew-kyle92/django-frontend-validation
|
5
|
+
Home-page: https://github.com/andrew-kyle92/django-forms-frontend-validation
|
6
6
|
Author: Andrew Kyle
|
7
7
|
Author-email: andrew.kyle92@yahoo.com
|
8
8
|
License: MIT
|
@@ -56,7 +56,8 @@ The application is designed to streamline the process of form validation, ensuri
|
|
56
56
|
- Ensure the `_InitializeForms` method is called during page load to attach validation logic to forms dynamically.
|
57
57
|
To your HTML template with the form, add this.
|
58
58
|
```html
|
59
|
-
|
59
|
+
<script src="{% static 'dist/forms.bundle.js' %}"></script>
|
60
|
+
<script>
|
60
61
|
// fv (formsvalidator) is exported from forms.bundle.js
|
61
62
|
window.addEventListener("load", () => {
|
62
63
|
let ignoredClasses = {{ form_validator.ignored_classes|safe }}; // add more classes that represent forms you want this script to ignore.
|
@@ -21,8 +21,8 @@ formvalidator/templates/base.html,sha256=husejzZpyn7DKk-3S6frsalTMz4-ZO5EV5GWobW
|
|
21
21
|
formvalidator/templates/formvalidator/sample.html,sha256=IKklx25wt-paXmfaMbSZfTZaWFzlq_BGMOuVKACNpyI,2048
|
22
22
|
formvalidator/templates/formvalidator/sample2.html,sha256=_E5Rtv4fWOut5dbpRsguoEUw-X_Hln6wok4g2KPlzCo,2129
|
23
23
|
formvalidator/templates/includes/header.html,sha256=5EWbHxj-JFu7fzmGUWWqOxoG2bwl03UwwUG_O68qzj0,946
|
24
|
-
django_forms_frontend_validation-1.0.
|
25
|
-
django_forms_frontend_validation-1.0.
|
26
|
-
django_forms_frontend_validation-1.0.
|
27
|
-
django_forms_frontend_validation-1.0.
|
28
|
-
django_forms_frontend_validation-1.0.
|
24
|
+
django_forms_frontend_validation-1.0.1.dist-info/LICENSE,sha256=gA3cqug2Eqh9zkbcEDQ1Ez1APddDnmbX6bO6_wcBRM8,1095
|
25
|
+
django_forms_frontend_validation-1.0.1.dist-info/METADATA,sha256=VeL357iTTzU9S5nT0wguWJSCjuvmEH297kXk4USPmI8,3945
|
26
|
+
django_forms_frontend_validation-1.0.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
27
|
+
django_forms_frontend_validation-1.0.1.dist-info/top_level.txt,sha256=E9SLf9Mg8MAqnCin_sgh__XTquz_st_-Qyy9w3-3fms,14
|
28
|
+
django_forms_frontend_validation-1.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|