~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlimages/admin.py

  • Committer: franku
  • Date: 2018-05-07 07:50:32 UTC
  • mto: This revision was merged to the branch mainline in revision 496.
  • Revision ID: somal@arcor.de-20180507075032-a04ywdyq0isvwy6f
Use a specialized conf.py and css for the website, so the widelands-repo isn't modified

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    actions = [delete_with_file]
32
32
    fieldsets = (
33
33
        (None, {'fields': ('image', 'name', 'date_submitted', 'revision')}),
34
 
        (_('Uploaded by:'), {'fields': ('user',)}),
 
34
        (_('Upload data:'), {'fields': ('user', 'editor_ip')}),
35
35
        (_('Content object:'), {
36
36
         'fields': (('content_type', 'content_object'), 'object_id')}),
37
37
    )