Create View reverse to DetailView
问题 I am trying to reverse from CreateView to DetailView after I have uploaded my Image. I get the same message NoReverseMatch at /photo/image/add Reverse for 'image-view' with arguments '()' and keyword arguments '{'pk': 50}' not found. 0 pattern(s) tried: [] This is my Model for Image from django.db import models from django.contrib.auth.models import User from django.contrib import admin from django.conf import settings from string import join import os class Image(models.Model): title =