fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Faster video cutting.
[audio.git]
/
src
/
archive
/
forms.py
diff --git
a/src/archive/forms.py
b/src/archive/forms.py
index
81568c6
..
22c426e
100644
(file)
--- a/
src/archive/forms.py
+++ b/
src/archive/forms.py
@@
-3,7
+3,7
@@
import os
import os.path
from django import forms
import os.path
from django import forms
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
import mutagen
from django.utils.encoding import force_bytes
import mutagen
from django.utils.encoding import force_bytes
@@
-14,6
+14,7
@@
from archive.utils import ExistingFile, sha1_file
class AudiobookForm(forms.ModelForm):
class Meta:
model = Audiobook
class AudiobookForm(forms.ModelForm):
class Meta:
model = Audiobook
+ exclude = []
def save(self, commit=True, path=None):
""" Performs normal save, with given file as an source audiobook.
def save(self, commit=True, path=None):
""" Performs normal save, with given file as an source audiobook.