Skip to content
Snippets Groups Projects
Verified Commit f9ef5e6f authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix formatting of example fields

parent 9902a8ba
No related branches found
No related tags found
No related merge requests found
...@@ -4,5 +4,9 @@ from dj_cleavejs import CleaveWidget ...@@ -4,5 +4,9 @@ from dj_cleavejs import CleaveWidget
class TestForm(Form): class TestForm(Form):
windows_xp_serial = CharField(widget=CleaveWidget(blocks=[5, 5, 5, 5, 5], delimiter="-")) windows_xp_serial = CharField(
windows_3_serial = CharField(widget=CleaveWidget(blocks=[3, 7], delimiter="-")) widget=CleaveWidget(blocks=[5, 5, 5, 5, 5], delimiter="-", uppercase=True)
)
windows_95_serial = CharField(
widget=CleaveWidget(blocks=[3, 7], delimiter="-", numericOnly=True)
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment