Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bellapanghulan_reading
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ysabella Panghulan
bellapanghulan_reading
Commits
2925119d
Commit
2925119d
authored
Apr 24, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added BookForm in forms.py
parent
11dd3d43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
forms.py
bellapanghulan_reading/bookshelf/forms.py
+8
-2
No files found.
bellapanghulan_reading/bookshelf/forms.py
View file @
2925119d
from
django
import
forms
from
django.forms
import
ModelForm
from
.models
import
Author
from
.models
import
Author
,
Books
class
AuthorForm
(
ModelForm
):
class
Meta
:
model
=
Author
fields
=
'__all__'
\ No newline at end of file
fields
=
'__all__'
class
BookForm
(
ModelForm
):
class
Meta
:
model
=
Books
fields
=
'__all__'
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