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 @@ ...@@ -27,9 +27,9 @@
</ul> </ul>
<div class = "links"> <div class = "links">
<a class = "flex-items" href = '/bookshelf/home/'>Home</a> <a class = "flex-items" href = '/home/'>Home</a>
<a class = "flex-items" href = '/bookshelf/books/'>Books</a> <a class = "flex-items" href = '/books/'>Books</a>
<a class = "flex-items" href = '/bookshelf/authors/'>Authors</a> <a class = "flex-items" href = '/authors/'>Authors</a>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
</ul> </ul>
<div class = "links"> <div class = "links">
<a class = "flex-items" href = '/bookshelf/home/'>Home</a> <a class = "flex-items" href = '/home/'>Home</a>
<a class = "flex-items" href = '/bookshelf/books/'>Books</a> <a class = "flex-items" href = '/books/'>Books</a>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
</form> </form>
<div class = "links"> <div class = "links">
<a class = "flex-items" href = '/bookshelf/home/'>Home</a> <a class = "flex-items" href = '/home/'>Home</a>
<a class = "flex-items" href = '/bookshelf/books/'>Books</a> <a class = "flex-items" href = '/books/'>Books</a>
<a class = "flex-items" href = '/bookshelf/authors/'>Authors</a> <a class = "flex-items" href = '/authors/'>Authors</a>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
</ul> </ul>
<div class = "links"> <div class = "links">
<a class = "flex-items" href = '/bookshelf/home/'>Home</a> <a class = "flex-items" href = '/home/'>Home</a>
<a class = "flex-items" href = '/bookshelf/authors/'>Authors</a> <a class = "flex-items" href = '/authors/'>Authors</a>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -10,13 +10,13 @@ ...@@ -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> <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"> <div class = "links">
<a class = "flex-items" href = '/bookshelf/books/'>Books</a> <a class = "flex-items" href = '/books/'>Books</a>
<a class = "flex-items" href = '/bookshelf/authors/'>Authors</a> <a class = "flex-items" href = '/authors/'>Authors</a>
</div> </div>
<div class = "add-links"> <div class = "add-links">
<a class = "flex-items" href = '/bookshelf/books/add'>Add Book</a> <a class = "flex-items" href = '/books/add'>Add Book</a>
<a class = "flex-items" href = '/bookshelf/authors/add'>Add Author</a> <a class = "flex-items" href = '/authors/add'>Add Author</a>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -17,6 +17,6 @@ from django.contrib import admin ...@@ -17,6 +17,6 @@ from django.contrib import admin
from django.urls import include, path from django.urls import include, path
urlpatterns = [ urlpatterns = [
path('bookshelf/', include('bookshelf.urls', namespace = "bookshelf")), path('', include('bookshelf.urls')),
path('admin/', admin.site.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