from django.contrib import admin
from scotstartup.models import UserProfile
from scotstartup.models import Company


class CompanyAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('name',)}


admin.site.register(Company, CompanyAdmin)
admin.site.register(UserProfile)

befd013fcc2691b838d14076bb0113ce6afbe0ec
<mask token>


class CompanyAdmin(admin.ModelAdmin):
    <mask token>


<mask token>

<mask token>


class CompanyAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('name',)}


<mask token>

<mask token>


class CompanyAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('name',)}


admin.site.register(Company, CompanyAdmin)
admin.site.register(UserProfile)

from django.contrib import admin
from scotstartup.models import UserProfile
from scotstartup.models import Company


class CompanyAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('name',)}


admin.site.register(Company, CompanyAdmin)
admin.site.register(UserProfile)
