-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Let the user set a name to markers and objects when creating them. Also, show marker, object and artwork's names when clicking on it
- Loading branch information
Showing
7 changed files
with
96 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 2.0 on 2020-02-13 19:34 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0002_exhibit_creation_date'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='exhibit', | ||
name='owner', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='exhibits', to='users.Profile'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Generated by Django 2.0 on 2020-02-13 19:34 | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('users', '0005_object_source_20200130_1904'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='marker', | ||
name='title', | ||
field=models.CharField(default='', max_length=60), | ||
), | ||
migrations.AddField( | ||
model_name='object', | ||
name='title', | ||
field=models.CharField(default='', max_length=60), | ||
), | ||
migrations.AlterField( | ||
model_name='marker', | ||
name='owner', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='users.Profile'), | ||
), | ||
migrations.AlterField( | ||
model_name='object', | ||
name='owner', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='users.Profile'), | ||
), | ||
migrations.AlterField( | ||
model_name='profile', | ||
name='user', | ||
field=models.OneToOneField(on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters