Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gab_salas_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
Jose Gabriel L. Salas
gab_salas_reading
Commits
9bd890db
Commit
9bd890db
authored
Apr 25, 2023
by
Jose Gabriel L. Salas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed formatting issues for som of the html files
parent
3843fa16
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
3 deletions
+2
-3
urls.cpython-310.pyc
gab_salas_reading/bookshelf/__pycache__/urls.cpython-310.pyc
+0
-0
add-author.html
...las_reading/bookshelf/templates/bookshelf/add-author.html
+1
-1
add-book.html
...salas_reading/bookshelf/templates/bookshelf/add-book.html
+1
-1
urls.py
gab_salas_reading/bookshelf/urls.py
+0
-1
db.sqlite3
gab_salas_reading/db.sqlite3
+0
-0
No files found.
gab_salas_reading/bookshelf/__pycache__/urls.cpython-310.pyc
View file @
9bd890db
No preview for this file type
gab_salas_reading/bookshelf/templates/bookshelf/add-author.html
View file @
9bd890db
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
{% load static %}
{% load static %}
{% block title %}Add New Author{% endblock %}
{% block title %}Add New Author{% endblock %}
{% block content %}
{% block content %}
<form
action =
""
"
method =
"post"
>
<form
action =
""
method =
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<p><input
type=
"submit"
value =
"Add Author"
></p>
<p><input
type=
"submit"
value =
"Add Author"
></p>
...
...
gab_salas_reading/bookshelf/templates/bookshelf/add-book.html
View file @
9bd890db
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
{% load static %}
{% load static %}
{% block title %}Add New Book{% endblock %}
{% block title %}Add New Book{% endblock %}
{% block content %}
{% block content %}
<form
action=
"
/
"
method=
"post"
>
<form
action=
""
method=
"post"
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<p><input
type=
"submit"
value=
"Add Book"
></p>
<p><input
type=
"submit"
value=
"Add Book"
></p>
...
...
gab_salas_reading/bookshelf/urls.py
View file @
9bd890db
...
@@ -6,7 +6,6 @@ urlpatterns = [
...
@@ -6,7 +6,6 @@ urlpatterns = [
path
(
'authors/'
,
AuthorListView
.
as_view
(),
name
=
'author-list'
),
path
(
'authors/'
,
AuthorListView
.
as_view
(),
name
=
'author-list'
),
path
(
'books/<int:pk>/details/'
,
BooksDetailView
.
as_view
(),
name
=
'books-detail'
),
path
(
'books/<int:pk>/details/'
,
BooksDetailView
.
as_view
(),
name
=
'books-detail'
),
path
(
'authors/<int:pk>/details/'
,
AuthorDetailView
.
as_view
(),
name
=
'authors-detail'
),
path
(
'authors/<int:pk>/details/'
,
AuthorDetailView
.
as_view
(),
name
=
'authors-detail'
),
# path('books/add/', AddBookView.as_view(), name = 'add-book'),
path
(
'authors/add/'
,
AuthorCreateView
.
as_view
(),
name
=
'add-author'
),
path
(
'authors/add/'
,
AuthorCreateView
.
as_view
(),
name
=
'add-author'
),
path
(
'authors/<int:pk>/edit'
,
AuthorUpdateView
.
as_view
(),
name
=
'edit-author'
),
path
(
'authors/<int:pk>/edit'
,
AuthorUpdateView
.
as_view
(),
name
=
'edit-author'
),
path
(
'books/add/'
,
BookCreateView
.
as_view
(),
name
=
'add-book'
),
path
(
'books/add/'
,
BookCreateView
.
as_view
(),
name
=
'add-book'
),
...
...
gab_salas_reading/db.sqlite3
View file @
9bd890db
No preview for this file type
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