Commit 7bc750cd authored by Gabriel G. Garrero's avatar Gabriel G. Garrero

Edited the urls of all pages (removed /bookshelf/)

parent b846171e
......@@ -27,9 +27,9 @@
</ul>
<div class = "links">
<a class = "flex-items" href = '/bookshelf/home/'>Home</a>
<a class = "flex-items" href = '/bookshelf/books/'>Books</a>
<a class = "flex-items" href = '/bookshelf/authors/'>Authors</a>
<a class = "flex-items" href = '/home/'>Home</a>
<a class = "flex-items" href = '/books/'>Books</a>
<a class = "flex-items" href = '/authors/'>Authors</a>
</div>
{% endblock %}
\ No newline at end of file
......@@ -17,8 +17,8 @@
</ul>
<div class = "links">
<a class = "flex-items" href = '/bookshelf/home/'>Home</a>
<a class = "flex-items" href = '/bookshelf/books/'>Books</a>
<a class = "flex-items" href = '/home/'>Home</a>
<a class = "flex-items" href = '/books/'>Books</a>
</div>
{% endblock %}
\ No newline at end of file
......@@ -17,8 +17,8 @@
</form>
<div class = "links">
<a class = "flex-items" href = '/bookshelf/home/'>Home</a>
<a class = "flex-items" href = '/bookshelf/books/'>Books</a>
<a class = "flex-items" href = '/bookshelf/authors/'>Authors</a>
<a class = "flex-items" href = '/home/'>Home</a>
<a class = "flex-items" href = '/books/'>Books</a>
<a class = "flex-items" href = '/authors/'>Authors</a>
</div>
{% endblock %}
\ No newline at end of file
......@@ -16,8 +16,8 @@
</ul>
<div class = "links">
<a class = "flex-items" href = '/bookshelf/home/'>Home</a>
<a class = "flex-items" href = '/bookshelf/authors/'>Authors</a>
<a class = "flex-items" href = '/home/'>Home</a>
<a class = "flex-items" href = '/authors/'>Authors</a>
</div>
{% endblock %}
\ No newline at end of file
......@@ -10,13 +10,13 @@
<p>I don't actually read books so I ended up just putting some of the most famous books and authors for my data.</p>
<div class = "links">
<a class = "flex-items" href = '/bookshelf/books/'>Books</a>
<a class = "flex-items" href = '/bookshelf/authors/'>Authors</a>
<a class = "flex-items" href = '/books/'>Books</a>
<a class = "flex-items" href = '/authors/'>Authors</a>
</div>
<div class = "add-links">
<a class = "flex-items" href = '/bookshelf/books/add'>Add Book</a>
<a class = "flex-items" href = '/bookshelf/authors/add'>Add Author</a>
<a class = "flex-items" href = '/books/add'>Add Book</a>
<a class = "flex-items" href = '/authors/add'>Add Author</a>
</div>
{% endblock %}
\ No newline at end of file
......@@ -17,6 +17,6 @@ from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path('bookshelf/', include('bookshelf.urls', namespace = "bookshelf")),
path('', include('bookshelf.urls')),
path('admin/', admin.site.urls),
]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment