Skip to content

Commit

Permalink
removing vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
girishkumarkh committed Oct 9, 2024
1 parent 5059b17 commit a0dfc81
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ coverage.xml
docs/_build/

.idea

# ingore VSCode settings
.vscode/
11 changes: 0 additions & 11 deletions .vscode/settings.json

This file was deleted.

5 changes: 5 additions & 0 deletions tests/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ class MyForm(Form):
with_cls = CharField(widget=TextInput(attrs={"class": "class0"}))
date = forms.DateField(widget=SelectDateWidget(attrs={"egg": "spam"}))
choice = forms.ChoiceField(choices=[(1, "one"), (2, "two")])
radio = forms.ChoiceField(
label="Radio Input",
choices=[("option1", "Option 1"), ("option2", "Option 2")],
widget=forms.RadioSelect,
)


def render_form(text, form=None, **context_args):
Expand Down

0 comments on commit a0dfc81

Please sign in to comment.