from django.contrib import admin
from surgery import models

class Surgery_Steps_Inline(admin.TabularInline):
    model = models.Surgery_Steps

@admin.register(models.Surgery_Master)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Surgery_Master
    inlines = [
               Surgery_Steps_Inline,
    ]

@admin.register(models.Patient_Surgery)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Patient_Surgery

970882a1979d4cfe8556641e6236115afc18b207
<mask token>


@admin.register(models.Surgery_Master)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Surgery_Master
    inlines = [Surgery_Steps_Inline]


@admin.register(models.Patient_Surgery)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Patient_Surgery

<mask token>


class Surgery_Steps_Inline(admin.TabularInline):
    <mask token>


@admin.register(models.Surgery_Master)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Surgery_Master
    inlines = [Surgery_Steps_Inline]


@admin.register(models.Patient_Surgery)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Patient_Surgery

<mask token>


class Surgery_Steps_Inline(admin.TabularInline):
    model = models.Surgery_Steps


@admin.register(models.Surgery_Master)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Surgery_Master
    inlines = [Surgery_Steps_Inline]


@admin.register(models.Patient_Surgery)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Patient_Surgery

from django.contrib import admin
from surgery import models


class Surgery_Steps_Inline(admin.TabularInline):
    model = models.Surgery_Steps


@admin.register(models.Surgery_Master)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Surgery_Master
    inlines = [Surgery_Steps_Inline]


@admin.register(models.Patient_Surgery)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Patient_Surgery

from django.contrib import admin
from surgery import models

class Surgery_Steps_Inline(admin.TabularInline):
    model = models.Surgery_Steps

@admin.register(models.Surgery_Master)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Surgery_Master
    inlines = [
               Surgery_Steps_Inline,
    ]

@admin.register(models.Patient_Surgery)
class Surgery_master_Admin(admin.ModelAdmin):
    model = models.Patient_Surgery
