-
-
Save brunomichetti/32ace4d6aa61f50e1ccf32b18c307f4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from example_app.models import Example | |
class ExampleAdmin(admin.ModelAdmin): | |
fields = ('image',) | |
admin.site.register(Example, ExampleAdmin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment