Update user detail link
This commit is contained in:
parent
4ee52d2ba5
commit
d796953e4d
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
</a>
|
||||
<div class="card-footer d-flex justify-content-between">
|
||||
<a href="#">
|
||||
<a href="{% url 'user_detail' offer.user.id %}">
|
||||
<i class="fas fa-user mt-3"></i> {{ offer.user.username }}
|
||||
</a>
|
||||
<p class="zip">
|
||||
|
|
|
@ -13,7 +13,7 @@ urlpatterns = [
|
|||
path("offer/<int:offer_id>/delete/", views.offer_delete, name="offer_delete"),
|
||||
path("offer/<int:offer_id>/edit/", views.offer_edit, name="offer_edit"),
|
||||
path("offer/<int:offer_id>/trade/", views.offer_trade, name="offer_trade"),
|
||||
path("user/<int:user_id>", views.user_detail, name="user_detail"),
|
||||
path("accounts/<int:user_id>", views.user_detail, name="user_detail"),
|
||||
path('accounts/login/', auth_views.LoginView.as_view(template_name='registration/login.html')),
|
||||
path('accounts/profile/', auth_views.LoginView.as_view(template_name='user/detail.html')),
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
|
|
Loading…
Reference in a new issue