Permalink
Browse files

Removed site from admin-forms.

The site-field is stored automatically as the current_site when
uploading a file or creating a folder.
  • Loading branch information...
1 parent 8e8ec15 commit a21d6ffa9da85323f7cfdadc4a11124ec7e959a6 @erlenddalen committed May 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 media_tree/forms.py
View
@@ -13,7 +13,7 @@ class Meta:
model = FileNode
fieldsets = [
(_('Folder'), {
- 'fields': ['site', 'parent', 'name',]
+ 'fields': ['parent', 'name',]
}),
(_('Metadata'), {
'fields': ['title', 'description']
@@ -42,7 +42,7 @@ class Meta:
fieldsets = [
(_('File'), {
#'fields': ['name', 'file']
- 'fields': ['site', 'parent', 'file']
+ 'fields': ['parent', 'file']
}),
(_('Display'), {
'fields': ['published', 'preview_file', 'position', 'is_default'],

0 comments on commit a21d6ff

Please sign in to comment.