mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Add a 404 page and improve manufacturer lookup (#36)
* Add a custom 404 page * Better manufacturer and item lookup * Add migration to populate new field * Version bump
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from ram.utils import git_suffix
|
||||
|
||||
__version__ = "0.12.2"
|
||||
__version__ = "0.12.3"
|
||||
__version__ += git_suffix(__file__)
|
||||
|
@@ -22,6 +22,9 @@ from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
|
||||
from ram.views import UploadImage
|
||||
from portal.views import Render404
|
||||
|
||||
handler404 = Render404.as_view()
|
||||
|
||||
urlpatterns = [
|
||||
path("", lambda r: redirect("portal/")),
|
||||
|
Reference in New Issue
Block a user