mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add basic account view for user and refactor user tool bar
This commit is contained in:
35
counter/migrations/0005_auto_20160717_1029.py
Normal file
35
counter/migrations/0005_auto_20160717_1029.py
Normal file
@ -0,0 +1,35 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('counter', '0004_auto_20160717_0933'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='refilling',
|
||||
name='customer',
|
||||
field=models.ForeignKey(to='counter.Customer', related_name='refillings'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='refilling',
|
||||
name='operator',
|
||||
field=models.ForeignKey(to=settings.AUTH_USER_MODEL, related_name='refillings_as_operator'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='selling',
|
||||
name='customer',
|
||||
field=models.ForeignKey(to='counter.Customer', related_name='sellings'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='selling',
|
||||
name='seller',
|
||||
field=models.ForeignKey(to=settings.AUTH_USER_MODEL, related_name='sellings_as_operator'),
|
||||
),
|
||||
]
|
19
counter/migrations/0006_auto_20160717_1033.py
Normal file
19
counter/migrations/0006_auto_20160717_1033.py
Normal file
@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('counter', '0005_auto_20160717_1029'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='selling',
|
||||
name='customer',
|
||||
field=models.ForeignKey(to='counter.Customer', related_name='buyings'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user