Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nathan R Lapierre
advisor
Commits
1e53098f
Commit
1e53098f
authored
Jan 30, 2014
by
Daniel W Bond
Browse files
init on formspy
parent
8cc2deb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
advisor/trajectories/forms.py
View file @
1e53098f
from
django
import
forms
from
django.db
import
models
from
django.core.exceptions
import
ValidationError
from
django.forms
import
ModelForm
,
Select
from
trajectories.models
import
Trajectory
class
NewTrajectoryForm
(
ModelForm
):
# def __init__(self, *args, **kwargs):
class
Meta
:
model
=
Trajectory
fields
=
(
)
exclude
=
(
)
labels
=
{
}
widgets
=
{
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment