0001_initial.py 816 B

12345678910111213141516171819202122232425
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import models, migrations
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('configuration', '0003_configuration_comment'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='SimpleDSL',
  11. fields=[
  12. ('configuration_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='configuration.Configuration')),
  13. ('phone_number', models.CharField(help_text='Phone number associated to the DSL line', max_length=20, verbose_name='phone number')),
  14. ],
  15. options={
  16. 'verbose_name': 'DSL line',
  17. },
  18. bases=('configuration.configuration',),
  19. ),
  20. ]