from django.db import models
from django.contrib import admin
from DjangoUeditor.models import UEditorField


class Archives(models.Model):
    title = models.CharField(max_length=150)
    body = UEditorField('body')
    timestamp = models.DateField()
    archivetype = models.CharField(max_length=150, default='books')

    class Meta:
        ordering = ('-timestamp', 'title', 'archivetype' )


class ArchivesAdmin(admin.ModelAdmin):
    list_display = ('title', 'timestamp', 'archivetype','id')



admin.site.register(Archives,ArchivesAdmin)

c7bbb8f0dd2dfac2d91897eb1967d5bd6b331d47
<mask token>


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


<mask token>

<mask token>


class Archives(models.Model):
    title = models.CharField(max_length=150)
    body = UEditorField('body')
    timestamp = models.DateField()
    archivetype = models.CharField(max_length=150, default='books')


    class Meta:
        ordering = '-timestamp', 'title', 'archivetype'


class ArchivesAdmin(admin.ModelAdmin):
    list_display = 'title', 'timestamp', 'archivetype', 'id'


<mask token>

<mask token>


class Archives(models.Model):
    title = models.CharField(max_length=150)
    body = UEditorField('body')
    timestamp = models.DateField()
    archivetype = models.CharField(max_length=150, default='books')


    class Meta:
        ordering = '-timestamp', 'title', 'archivetype'


class ArchivesAdmin(admin.ModelAdmin):
    list_display = 'title', 'timestamp', 'archivetype', 'id'


admin.site.register(Archives, ArchivesAdmin)

from django.db import models
from django.contrib import admin
from DjangoUeditor.models import UEditorField


class Archives(models.Model):
    title = models.CharField(max_length=150)
    body = UEditorField('body')
    timestamp = models.DateField()
    archivetype = models.CharField(max_length=150, default='books')


    class Meta:
        ordering = '-timestamp', 'title', 'archivetype'


class ArchivesAdmin(admin.ModelAdmin):
    list_display = 'title', 'timestamp', 'archivetype', 'id'


admin.site.register(Archives, ArchivesAdmin)

from django.db import models
from django.contrib import admin
from DjangoUeditor.models import UEditorField


class Archives(models.Model):
    title = models.CharField(max_length=150)
    body = UEditorField('body')
    timestamp = models.DateField()
    archivetype = models.CharField(max_length=150, default='books')

    class Meta:
        ordering = ('-timestamp', 'title', 'archivetype' )


class ArchivesAdmin(admin.ModelAdmin):
    list_display = ('title', 'timestamp', 'archivetype','id')



admin.site.register(Archives,ArchivesAdmin)
