facts: don't require nickmask in admin form
This commit is contained in:
parent
f18569b636
commit
68cf0f8816
19
dr_botzo/facts/migrations/0005_auto_20150814_1653.py
Normal file
19
dr_botzo/facts/migrations/0005_auto_20150814_1653.py
Normal file
@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('facts', '0004_fact_time'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='fact',
|
||||
name='nickmask',
|
||||
field=models.CharField(default='', max_length=200, blank=True),
|
||||
),
|
||||
]
|
@ -55,7 +55,7 @@ class Fact(models.Model):
|
||||
|
||||
fact = models.TextField()
|
||||
category = models.ForeignKey(FactCategory)
|
||||
nickmask = models.CharField(max_length=200, default='')
|
||||
nickmask = models.CharField(max_length=200, default='', blank=True)
|
||||
time = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
objects = FactManager()
|
||||
|
Loading…
Reference in New Issue
Block a user