# Path: antioch/core/models.py
# class URLField(models.CharField):
# class Object(models.Model):
#     class Meta:
# class Relationship(models.Model):
#     class Meta:
# class Observation(models.Model):
#     class Meta:
# class Alias(models.Model):
#     class Meta:
# class Repository(models.Model):
#     class Meta:
# class Verb(models.Model):
#     class Meta:
# class VerbName(models.Model):
#     class Meta:
# class Property(models.Model):
#     class Meta:
# class Permission(models.Model):
#     class Meta:
# class Access(models.Model):
#     class Meta:
# class Player(models.Model):
#     class Meta:
# class Task(models.Model):
#     class Meta:
#     def __str__(self):
#     def __str__(self):
#     def annotated(self):
#     def name(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def actor(self):
#     def entity(self):
#     def origin(self):
#     def __str__(self):
#     def __str__(self):
#     def is_authenticated(self):
#     def is_active(self):
#     def is_staff(self):
#     def is_superuser(self):
#     def has_module_perms(self, app):
#     def has_perm(self, perm):
#     def email(self):


from antioch.core import models
from django.contrib import admin
# antioch
# Copyright (c) 1999-2019 Phil Christensen
#
#
# See LICENSE for details


class VerbInline(admin.TabularInline):
    model = models.Verb
    fk_name = 'origin'
    extra = 1
    exclude = ('code',)
    readonly_fields = ('filename', 'ability', 'method', 'owner')

class PropertyInline(admin.TabularInline):
    model = models.Property
    fk_name = 'origin'
    extra = 1
    readonly_fields = ('name', 'value', 'owner')

class ObjectAdmin(admin.ModelAdmin):
    list_display = ('__str__', 'unique_name', 'owner', 'location')
    inlines = [
        VerbInline,
        PropertyInline,
    ]
admin.site.register(models.Object, ObjectAdmin)

admin.site.register(models.Verb)

# Path: antioch/core/models.py
# class URLField(models.CharField):
# class Object(models.Model):
#     class Meta:
# class Relationship(models.Model):
#     class Meta:
# class Observation(models.Model):
#     class Meta:
# class Alias(models.Model):
#     class Meta:
# class Repository(models.Model):
#     class Meta:
# class Verb(models.Model):
#     class Meta:
# class VerbName(models.Model):
#     class Meta:
# class Property(models.Model):
#     class Meta:
# class Permission(models.Model):
#     class Meta:
# class Access(models.Model):
#     class Meta:
# class Player(models.Model):
#     class Meta:
# class Task(models.Model):
#     class Meta:
#     def __str__(self):
#     def __str__(self):
#     def annotated(self):
#     def name(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def actor(self):
#     def entity(self):
#     def origin(self):
#     def __str__(self):
#     def __str__(self):
#     def is_authenticated(self):
#     def is_active(self):
#     def is_staff(self):
#     def is_superuser(self):
#     def has_module_perms(self, app):
#     def has_perm(self, perm):
#     def email(self):


# Path: antioch/core/admin.py
from antioch.core import models
from django.contrib import admin

# antioch
# Copyright (c) 1999-2019 Phil Christensen
#
#
# See LICENSE for details


class VerbInline(admin.TabularInline):
    model = models.Verb
    fk_name = 'origin'
    extra = 1
    exclude = ('code',)
    readonly_fields = ('filename', 'ability', 'method', 'owner')

class PropertyInline(admin.TabularInline):
    model = models.Property
    fk_name = 'origin'
    extra = 1
    readonly_fields = ('name', 'value', 'owner')

class ObjectAdmin(admin.ModelAdmin):
    list_display = ('__str__', 'unique_name', 'owner', 'location')
    inlines = [
        VerbInline,
        PropertyInline,
    ]
admin.site.register(models.Object, ObjectAdmin)

admin.site.register(models.Verb)

admin.site.register(models.Property)