django-forms-frontend-validation 1.0.0__tar.gz → 1.0.2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {django_forms_frontend_validation-1.0.0/django_forms_frontend_validation.egg-info → django_forms_frontend_validation-1.0.2}/PKG-INFO +8 -5
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/README.md +6 -3
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2/django_forms_frontend_validation.egg-info}/PKG-INFO +8 -5
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/setup.py +2 -2
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/LICENSE +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/MANIFEST.in +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/django_forms_frontend_validation.egg-info/SOURCES.txt +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/django_forms_frontend_validation.egg-info/dependency_links.txt +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/django_forms_frontend_validation.egg-info/requires.txt +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/django_forms_frontend_validation.egg-info/top_level.txt +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/__init__.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/admin.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/apps.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/form_utils/__init__.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/form_utils/form_utils.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/forms.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/migrations/__init__.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/models.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/settings.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/static/dist/forms.bundle.js +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/static/webpack/package-lock.json +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/static/webpack/package.json +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/static/webpack/src/css/style.css +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/static/webpack/src/js/formFunctions.js +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/static/webpack/src/js/index.js +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/static/webpack/webpack.config.js +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/templates/base.html +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/templates/formvalidator/sample.html +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/templates/formvalidator/sample2.html +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/templates/includes/header.html +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/tests.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/urls.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/formvalidator/views.py +0 -0
- {django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/setup.cfg +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.2
|
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
|
@@ -46,9 +46,11 @@ The application is designed to streamline the process of form validation, ensuri
|
|
46
46
|
'formvalidator',
|
47
47
|
]
|
48
48
|
```
|
49
|
-
- Configure the following variables to customize the behavior.
|
49
|
+
- Configure the following variables to customize the behavior, after importing the form settings.
|
50
50
|
```python
|
51
|
-
|
51
|
+
from formvalidator.settings import *
|
52
|
+
|
53
|
+
IGNORED_CLASSES = ['example-class', 'example-class-2', ...]
|
52
54
|
IGNORE_VALIDATION = ['example-ignore-validation', ...]
|
53
55
|
VALIDATE_ONLY_ON_SUBMIT = ['all'] # Options: "__all__", specific class names, or leave empty.
|
54
56
|
```
|
@@ -56,7 +58,8 @@ The application is designed to streamline the process of form validation, ensuri
|
|
56
58
|
- Ensure the `_InitializeForms` method is called during page load to attach validation logic to forms dynamically.
|
57
59
|
To your HTML template with the form, add this.
|
58
60
|
```html
|
59
|
-
|
61
|
+
<script src="{% static 'dist/forms.bundle.js' %}"></script>
|
62
|
+
<script>
|
60
63
|
// fv (formsvalidator) is exported from forms.bundle.js
|
61
64
|
window.addEventListener("load", () => {
|
62
65
|
let ignoredClasses = {{ form_validator.ignored_classes|safe }}; // add more classes that represent forms you want this script to ignore.
|
@@ -31,9 +31,11 @@ The application is designed to streamline the process of form validation, ensuri
|
|
31
31
|
'formvalidator',
|
32
32
|
]
|
33
33
|
```
|
34
|
-
- Configure the following variables to customize the behavior.
|
34
|
+
- Configure the following variables to customize the behavior, after importing the form settings.
|
35
35
|
```python
|
36
|
-
|
36
|
+
from formvalidator.settings import *
|
37
|
+
|
38
|
+
IGNORED_CLASSES = ['example-class', 'example-class-2', ...]
|
37
39
|
IGNORE_VALIDATION = ['example-ignore-validation', ...]
|
38
40
|
VALIDATE_ONLY_ON_SUBMIT = ['all'] # Options: "__all__", specific class names, or leave empty.
|
39
41
|
```
|
@@ -41,7 +43,8 @@ The application is designed to streamline the process of form validation, ensuri
|
|
41
43
|
- Ensure the `_InitializeForms` method is called during page load to attach validation logic to forms dynamically.
|
42
44
|
To your HTML template with the form, add this.
|
43
45
|
```html
|
44
|
-
|
46
|
+
<script src="{% static 'dist/forms.bundle.js' %}"></script>
|
47
|
+
<script>
|
45
48
|
// fv (formsvalidator) is exported from forms.bundle.js
|
46
49
|
window.addEventListener("load", () => {
|
47
50
|
let ignoredClasses = {{ form_validator.ignored_classes|safe }}; // add more classes that represent forms you want this script to ignore.
|
@@ -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.2
|
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
|
@@ -46,9 +46,11 @@ The application is designed to streamline the process of form validation, ensuri
|
|
46
46
|
'formvalidator',
|
47
47
|
]
|
48
48
|
```
|
49
|
-
- Configure the following variables to customize the behavior.
|
49
|
+
- Configure the following variables to customize the behavior, after importing the form settings.
|
50
50
|
```python
|
51
|
-
|
51
|
+
from formvalidator.settings import *
|
52
|
+
|
53
|
+
IGNORED_CLASSES = ['example-class', 'example-class-2', ...]
|
52
54
|
IGNORE_VALIDATION = ['example-ignore-validation', ...]
|
53
55
|
VALIDATE_ONLY_ON_SUBMIT = ['all'] # Options: "__all__", specific class names, or leave empty.
|
54
56
|
```
|
@@ -56,7 +58,8 @@ The application is designed to streamline the process of form validation, ensuri
|
|
56
58
|
- Ensure the `_InitializeForms` method is called during page load to attach validation logic to forms dynamically.
|
57
59
|
To your HTML template with the form, add this.
|
58
60
|
```html
|
59
|
-
|
61
|
+
<script src="{% static 'dist/forms.bundle.js' %}"></script>
|
62
|
+
<script>
|
60
63
|
// fv (formsvalidator) is exported from forms.bundle.js
|
61
64
|
window.addEventListener("load", () => {
|
62
65
|
let ignoredClasses = {{ form_validator.ignored_classes|safe }}; // add more classes that represent forms you want this script to ignore.
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='django-forms-frontend-validation',
|
5
|
-
version='1.0.
|
5
|
+
version='1.0.2',
|
6
6
|
packages=find_packages(exclude=['core*']),
|
7
7
|
include_package_data=True,
|
8
8
|
license='MIT', # Use the license that applies to your project
|
@@ -11,7 +11,7 @@ setup(
|
|
11
11
|
long_description_content_type='text/markdown',
|
12
12
|
author='Andrew Kyle',
|
13
13
|
author_email='andrew.kyle92@yahoo.com',
|
14
|
-
url='https://github.com/andrew-kyle92/django-frontend-validation',
|
14
|
+
url='https://github.com/andrew-kyle92/django-forms-frontend-validation',
|
15
15
|
classifiers=[
|
16
16
|
'Framework :: Django',
|
17
17
|
'Programming Language :: Python',
|
File without changes
|
{django_forms_frontend_validation-1.0.0 → django_forms_frontend_validation-1.0.2}/MANIFEST.in
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|