/i> Проблеми 0 Заявки за сливане 0 Ревизии 623 Издания 0

Няма описание

.gitignore 693B

    # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *.swp # C extensions *.so # Distribution / packaging bin/ build/ develop-eggs/ dist/ eggs/ lib/ lib64/ parts/ sdist/ venv/ var/ static/upload/ *.egg-info/ .installed.cfg *.egg *.sublime* # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports .tox/ .coverage .cache nosetests.xml coverage.xml # Translations # *.mo # Mr Developer .mr.developer.cfg .project .pydevproject .settings # Rope .ropeproject # Django stuff: *.log *.pot # Sphinx documentation docs/_build/ # Ignore For zhTimer .DS_Store db.sqlite3 local_settings.py .idea/ media/ collect_static/ # Special File *download.html
kodo - Gogs: Go Git Service

Sin Descripción

0042_slideinfo.py 1.6KB

    # -*- coding: utf-8 -*- # Generated by Django 1.11.22 on 2019-08-12 08:14 from __future__ import unicode_literals from django.db import migrations, models import django_models_ext.fileext class Migration(migrations.Migration): dependencies = [ ('mch', '0041_auto_20190812_1429'), ] operations = [ migrations.CreateModel( name='SlideInfo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('status', models.BooleanField(db_index=True, default=True, help_text='Status', verbose_name='status')), ('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')), ('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')), ('brand_id', models.CharField(blank=True, db_index=True, help_text='\u54c1\u724c\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='brand_id')), ('image', models.ImageField(blank=True, help_text='\u56fe\u7247', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='image')), ('url', models.CharField(blank=True, help_text='\u94fe\u63a5', max_length=255, null=True, verbose_name='url')), ('position', models.IntegerField(default=1, help_text='\u6392\u5e8f', verbose_name='position')), ], options={ 'verbose_name': '\u8f6e\u64ad\u56fe\u4fe1\u606f', 'verbose_name_plural': '\u8f6e\u64ad\u56fe\u4fe1\u606f', }, ), ]