@@ -0,0 +1,18 @@
+# Generated by Django 3.0.8 on 2020-08-07 02:38
+
+from django.db import migrations, models
+class Migration(migrations.Migration):
+ dependencies = [
+ ('basic', '0002_grouproutermenu_routermenu'),
+ ]
+ operations = [
+ migrations.AddField(
+ model_name='routermenu',
+ name='title',
+ field=models.CharField(max_length=50, null=True),
+ ),
@@ -26,6 +26,7 @@ class RouterMenu(MPTTModel):
"""
name = models.CharField(max_length=50)
path = models.CharField(max_length=50)
+ title = models.CharField(max_length=50, null=True)
url = models.CharField(max_length=50)
parent = TreeForeignKey('self', blank=True, null=True, on_delete=models.CASCADE)