<commit_before>from django.contrib import admin

from guardian.admin import GuardedModelAdmin

from .models import Map, DataLayer, TileLayer, Marker, MarkerCategory

class MapAdmin(GuardedModelAdmin):
    pass

class TileLayerAdmin(admin.ModelAdmin):
    pass

class DataLayerAdmin(admin.ModelAdmin):
    pass

    
class MarkerAdmin(admin.ModelAdmin):
    pass

class MarkerCategoryAdmin(admin.ModelAdmin):
    pass

    
admin.site.register(Map, MapAdmin)
admin.site.register(TileLayer, TileLayerAdmin)
admin.site.register(DataLayer, DataLayerAdmin)
admin.site.register(Marker, MarkerAdmin)
admin.site.register(MarkerCategory, MarkerCategoryAdmin)<commit_msg>Add postal address to admin<commit_after>from django.contrib import admin

from guardian.admin import GuardedModelAdmin

from .models import Map, DataLayer, TileLayer, Marker, MarkerCategory
from scout.models import PostalAddress

class MapAdmin(GuardedModelAdmin):
    pass

class TileLayerAdmin(admin.ModelAdmin):
    pass

class DataLayerAdmin(admin.ModelAdmin):
    pass

    
class MarkerAdmin(admin.ModelAdmin):
    pass

class MarkerCategoryAdmin(admin.ModelAdmin):
    pass

class PostalAddressAdmin(admin.ModelAdmin):
    pass
    
admin.site.register(Map, MapAdmin)
admin.site.register(TileLayer, TileLayerAdmin)
admin.site.register(DataLayer, DataLayerAdmin)
admin.site.register(Marker, MarkerAdmin)
admin.site.register(MarkerCategory, MarkerCategoryAdmin)
admin.site.register(PostalAddress, PostalAddressAdmin)
{'fraction_non_alphanumeric': 0.07956844234659474, 'fraction_numerical': 0.0, 'mean_word_length': 6.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2171092', 'n_tokens_mistral': 441, 'n_tokens_neox': 429, 'n_words': 94}