Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Rewrite of models, flattening everything into a single media class.
- Loading branch information
Showing
3 changed files
with
34 additions
and
61 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
from django.contrib import admin | ||
|
||
from mimesis.models import Image, ImageAssociation | ||
from mimesis.models import Audio, AudioAssociation | ||
from mimesis.models import FileUpload, FileAssociation | ||
|
||
admin.site.register(Image) | ||
admin.site.register(ImageAssociation) | ||
|
||
admin.site.register(Audio) | ||
admin.site.register(AudioAssociation) | ||
admin.site.register(FileUpload) | ||
admin.site.register(FileAssociation) |
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
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