mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-24 15:29:36 +02:00
fix: update Dockerfiles with metadata labels and improve build process
This commit is contained in:
parent
d91a4fbe98
commit
39c664ab1a
7 changed files with 52 additions and 27 deletions
|
@ -14,7 +14,7 @@ class StatsViewSet(viewsets.ViewSet):
|
|||
"""
|
||||
A simple ViewSet for listing the stats of a user.
|
||||
"""
|
||||
@action(detail=False, methods=['get'], url_path='counts/(?P<username>[\w.@+-]+)')
|
||||
@action(detail=False, methods=['get'], url_path=r'counts/(?P<username>[\w.@+-]+)')
|
||||
def counts(self, request, username):
|
||||
if request.user.username == username:
|
||||
user = get_object_or_404(User, username=username)
|
||||
|
|
|
@ -10,7 +10,7 @@ Pillow
|
|||
whitenoise
|
||||
django-resized
|
||||
django-geojson
|
||||
setuptools
|
||||
setuptools<81
|
||||
gunicorn==23.0.0
|
||||
qrcode==8.0
|
||||
slippers==0.6.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue