FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
django-basic-apps/basic/profiles/forms.py at master · dynamicguy/django-basic-apps · GitHub
dynamicguy
django-basic-apps
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
django-basic-apps
/
basic
/
profiles
/
forms.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (14 loc) · 491 Bytes
Breadcrumbs
django-basic-apps
/
basic
/
profiles
/
forms.py
Copy path
File metadata and controls
20 lines (14 loc) · 491 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from
django
import
forms
from
django
.
forms
import
ModelForm
from
django
.
forms
.
models
import
inlineformset_factory
from
django
.
contrib
.
auth
.
models
import
User
from
basic
.
profiles
.
models
import
*
class
ProfileForm
(
ModelForm
):
class
Meta
:
model
=
Profile
ServiceFormSet
=
inlineformset_factory
(
Profile
,
Service
)
LinkFormSet
=
inlineformset_factory
(
Profile
,
Link
)
class
UserForm
(
ModelForm
):
class
Meta
:
model
=
User
fields
=
(
'first_name'
,
'last_name'
)
Back
|
FazBrowse Home
|
New Git URL