You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1.4 KiB

# -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-06-10 18:54
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Article',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('public', models.BooleanField(default=True, verbose_name='\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c')),
('title', models.CharField(max_length=255, verbose_name='\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a')),
('page', models.TextField(verbose_name='PAGE')),
('css', models.FileField(blank=True, null=True, upload_to='library', verbose_name='CSS')),
('js', models.FileField(blank=True, null=True, upload_to='library', verbose_name='JS')),
('date', models.DateTimeField(default=datetime.datetime.now, verbose_name='\u0414\u0430\u0442\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438')),
],
options={
'verbose_name': '\u0421\u0442\u0430\u0442\u044c\u044f',
'verbose_name_plural': '\u0421\u0442\u0430\u0442\u044c\u0438',
},
),
]