2
Use the reverse_lazy()
instead of the plain reverse()
. At the time of defining the ModelAdmin
URLConf is not loaded yet.
Source:stackexchange.com
2
Use the reverse_lazy()
instead of the plain reverse()
. At the time of defining the ModelAdmin
URLConf is not loaded yet.