backend.migrations package
Submodules
backend.migrations.0001_initial module
- class backend.migrations.0001_initial.Migration(name, app_label)[source]
Bases:
Migration
- dependencies = [('auth', '__first__')]
- initial = True
- operations = [<CreateModel name='Category', fields=[('id', <django.db.models.fields.BigAutoField>), ('name', <django.db.models.fields.CharField>)]>, <CreateModel name='Event', fields=[('id', <django.db.models.fields.BigAutoField>), ('title', <django.db.models.fields.CharField>), ('content', <django.db.models.fields.TextField>), ('slug', <django.db.models.fields.SlugField>), ('date_posted', <django.db.models.fields.DateTimeField>), ('start_date', <django.db.models.fields.DateTimeField>), ('end_date', <django.db.models.fields.DateTimeField>), ('status', <django.db.models.fields.CharField>), ('category', <django.db.models.fields.related.ForeignKey>), ('mentor', <django.db.models.fields.related.ForeignKey>), ('student', <django.db.models.fields.related.ForeignKey>)], options={'ordering': ('-date_posted',)}>]