Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Maigutyak committed Apr 24, 2017
2 parents c394495 + a2cafb6 commit 07a1bfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion novaposhta/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
from novaposhta.models import Warehouse


@admin.register(Warehouse)
class WarehouseAdmin(admin.ModelAdmin):

list_display = ('title', 'address', )
search_fields = ('title', 'address', )

admin.site.register(Warehouse, WarehouseAdmin)

0 comments on commit 07a1bfe

Please sign in to comment.