
from .views import ImageViewSet

from django.conf import settings
from django.conf.urls import static
from rest_framework import routers

router = routers.DefaultRouter()
router.register(r'photo', ImageViewSet, 'Image')

urlpatterns = router.urls
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

0e4efa89fb54ad52ba905608ca75c4b4641686e8
<mask token>

<mask token>
router.register('photo', ImageViewSet, 'Image')
<mask token>

<mask token>
router = routers.DefaultRouter()
router.register('photo', ImageViewSet, 'Image')
urlpatterns = router.urls

from .views import ImageViewSet
from django.conf import settings
from django.conf.urls import static
from rest_framework import routers
router = routers.DefaultRouter()
router.register('photo', ImageViewSet, 'Image')
urlpatterns = router.urls


from .views import ImageViewSet

from django.conf import settings
from django.conf.urls import static
from rest_framework import routers

router = routers.DefaultRouter()
router.register(r'photo', ImageViewSet, 'Image')

urlpatterns = router.urls
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
