mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Created a Sender model
This commit is contained in:
parent
680b084203
commit
d1c811555c
3 changed files with 74 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ from django.contrib import admin
|
|||
from django.core.urlresolvers import reverse
|
||||
from django.templatetags.static import static
|
||||
|
||||
from .models import Document
|
||||
from .models import Sender, Document
|
||||
|
||||
|
||||
class DocumentAdmin(admin.ModelAdmin):
|
||||
|
|
@ -26,4 +26,5 @@ class DocumentAdmin(admin.ModelAdmin):
|
|||
)
|
||||
pdf.allow_tags = True
|
||||
|
||||
admin.site.register(Sender)
|
||||
admin.site.register(Document, DocumentAdmin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue