Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified category/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified category/__pycache__/admin.cpython-310.pyc
Binary file not shown.
Binary file modified category/__pycache__/apps.cpython-310.pyc
Binary file not shown.
Binary file modified category/__pycache__/models.cpython-310.pyc
Binary file not shown.
Binary file modified category/__pycache__/serializers.cpython-310.pyc
Binary file not shown.
Binary file modified category/__pycache__/urls.cpython-310.pyc
Binary file not shown.
Binary file modified category/__pycache__/views.cpython-310.pyc
Binary file not shown.
Binary file modified category/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file modified category/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified db.sqlite3
Binary file not shown.
Empty file added db.sqlite3
Empty file.
Binary file modified greenroute/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified greenroute/__pycache__/settings.cpython-310.pyc
Binary file not shown.
Binary file modified greenroute/__pycache__/urls.cpython-310.pyc
Binary file not shown.
Binary file modified greenroute/__pycache__/wsgi.cpython-310.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions greenroute/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
urlpatterns = [
path('admin/', admin.site.urls),
path('users/', include('users.urls')),
path('users/', include('route.urls')),
path('route/', include('route.urls')),
path('category/', include('category.urls')),
path('users/', include('hashtag.urls'))
path('hashtag/', include('hashtag.urls'))
]
Binary file modified hashtag/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/__pycache__/admin.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/__pycache__/apps.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/__pycache__/models.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/__pycache__/serializers.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/__pycache__/urls.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/__pycache__/views.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/migrations/__pycache__/0002_initial.cpython-310.pyc
Binary file not shown.
Binary file modified hashtag/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion hashtag/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
from .views import *

urlpatterns = [
path('hashtagList', HashtagView.as_view()),
path('hashtagList/', HashtagView.as_view()),
path('routes/<int:route_id>/hashtag/<int:hashtag_id>', RouteHashtag.as_view())
]
Binary file modified route/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified route/__pycache__/admin.cpython-310.pyc
Binary file not shown.
Binary file modified route/__pycache__/apps.cpython-310.pyc
Binary file not shown.
Binary file modified route/__pycache__/models.cpython-310.pyc
Binary file not shown.
Binary file modified route/__pycache__/serializers.cpython-310.pyc
Binary file not shown.
Binary file modified route/__pycache__/urls.cpython-310.pyc
Binary file not shown.
Binary file modified route/__pycache__/views.cpython-310.pyc
Binary file not shown.
Binary file modified route/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file modified route/migrations/__pycache__/0002_initial.cpython-310.pyc
Binary file not shown.
Binary file modified route/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions route/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

urlpatterns = [
path('recommendations/', PlaceRecommendationAPIView.as_view(), name='place-recommendations'),
path('routeplaces/', RemovePlaceFromRouteAPIView.as_view(), name='remove-place-from-route'),
path('?route_id=<int:route_id>&place_id=<int:place_id>', RemovePlaceFromRouteAPIView.as_view(), name='remove-place-from-route'),
path('top_recommended_places/', views.top_recommended_places, name='top_recommended_places'),
path('routes/<int:route_id>', RouteDetail.as_view(), name='routes'),
path('routes', RouteList.as_view(), name='routes'),
path('routes/', RouteList.as_view(), name='routes'),
path('routes/<int:route_id>/place/<place_id>/recommend', PlaceLike.as_view())
]
Binary file modified users/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified users/__pycache__/admin.cpython-310.pyc
Binary file not shown.
Binary file modified users/__pycache__/apps.cpython-310.pyc
Binary file not shown.
Binary file modified users/__pycache__/models.cpython-310.pyc
Binary file not shown.
Binary file modified users/__pycache__/serializers.cpython-310.pyc
Binary file not shown.
Binary file modified users/__pycache__/urls.cpython-310.pyc
Binary file not shown.
Binary file modified users/__pycache__/views.cpython-310.pyc
Binary file not shown.
Binary file modified users/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file modified users/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion users/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

urlpatterns = [
path('', views.index, name='index'),
path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
path('token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
path('api/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
path('signup/', views.UserSignupView.as_view(), name='signup'),
path('profile/', views.UserProfileView.as_view(), name='profile'),
Expand Down