Commit d903ec8a authored by Rafal's avatar Rafal

Update photos

parent df23cbb1
......@@ -9,12 +9,12 @@ class Command(BaseCommand):
def handle(self, *args, **options):
places = [
#['name', 'type', 'screen_img', 'logo_img', 'description', 'offer', 'promotions'],
['Kocia Kawiarnia', 'Cafeteria', '/static/media/img/photo_1.jpg', '/static/media/img/photo_1.jpg', 'description', 'Oferta1', 'Promocja1' ],
['Kafcia u Olczaka', 'Cafeteria', '/static/media/img/photo_1.jpg', '/static/media/img/photo_1.jpg', 'description', 'Oferta2', 'Promocja2'],
['Psia Kawiarnia', 'Cafeteria', '/static/media/img/photo_1.jpg', '/static/media/img/photo_1.jpg', 'description', 'Oferta1', 'Promocja1' ],
['Kafcia u Iwczaka', 'Cafeteria', '/static/media/img/photo_1.jpg', '/static/media/img/photo_1.jpg', 'description', 'Oferta2', 'Promocja2'],
['Lemingowa Kawiarnia', 'Cafeteria', '/static/media/img/photo_1.jpg', '/static/media/img/photo_1.jpg', 'description', 'Oferta1', 'Promocja1' ],
['Kafcia u Ewelinczaka', 'Cafeteria', '/static/media/img/photo_1.jpg', '/static/media/img/photo_1.jpg', 'description', 'Oferta2', 'Promocja2'],
['Kocia Kawiarnia', 'Cafeteria', '/static/img/photo_1.jpg', '/static/img/photo_1.jpg', 'description', 'Oferta1', 'Promocja1' ],
['Kafcia u Olczaka', 'Cafeteria', '/static/img/photo_1.jpg', '/static/img/photo_1.jpg', 'description', 'Oferta2', 'Promocja2'],
['Psia Kawiarnia', 'Cafeteria', '/static/img/photo_1.jpg', '/static/img/photo_1.jpg', 'description', 'Oferta1', 'Promocja1' ],
['Kafcia u Iwczaka', 'Cafeteria', '/static/img/photo_1.jpg', '/static/img/photo_1.jpg', 'description', 'Oferta2', 'Promocja2'],
['Lemingowa Kawiarnia', 'Cafeteria', '/static/img/photo_1.jpg', '/static/img/photo_1.jpg', 'description', 'Oferta1', 'Promocja1' ],
['Kafcia u Ewelinczaka', 'Cafeteria', '/static/img/photo_1.jpg', '/static/img/photo_1.jpg', 'description', 'Oferta2', 'Promocja2'],
]
print("Creating Places")
for place in places:
......
......@@ -9,10 +9,10 @@ class Command(BaseCommand):
def handle(self, *args, **options):
products = [
#['name', 'description', 'price', 'img' ],
['Kawa Latte', 'Z nutą czekolady', '7 zł', '/static/media/img/photo_1.jpg'],
['Herbata', 'Z nutą czekolady', '4 zł', '/static/media/img/photo_1.jpg'],
['Ciasto', 'Z nutą czekolady', '5 zł', '/static/media/img/photo_1.jpg'],
['Espresso', 'Mała czarna', '5 zł', '/static/media/img/photo_1.jpg'],
['Kawa Latte', 'Z nutą czekolady', '7 zł', '/static/img/photo_1.jpg'],
['Herbata', 'Z nutą czekolady', '4 zł', '/static/img/photo_1.jpg'],
['Ciasto', 'Z nutą czekolady', '5 zł', '/static/img/photo_1.jpg'],
['Espresso', 'Mała czarna', '5 zł', '/static/img/photo_1.jpg'],
]
print("Creating Products")
for product in products:
......
......@@ -9,9 +9,9 @@ class Command(BaseCommand):
def handle(self, *args, **options):
promotions = [
#[name, description, code, img, status]
['10%', 'Zniżka 10%', '5ac5','/static/media/img/photo_1.jpg' , 'New'],
['20%', 'Zniżka 20%', '5ac6','/static/media/img/photo_1.jpg' , 'New'],
['50%', 'Zniżka 50%', '5ac7','/static/media/img/photo_1.jpg' , 'New'],
['10%', 'Zniżka 10%', '5ac5','/static/img/photo_1.jpg' , 'New'],
['20%', 'Zniżka 20%', '5ac6','/static/img/photo_1.jpg' , 'New'],
['50%', 'Zniżka 50%', '5ac7','/static/img/photo_1.jpg' , 'New'],
]
print("Creating Promotions")
for promotion in promotions:
......
......@@ -64,6 +64,9 @@
<li>
<a href="#">O nas</a>
</li>
<li>
<a href="#">Zaloguj</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
......
......@@ -10,10 +10,10 @@ class Command(BaseCommand):
def handle(self, *args, **options):
data = [
['admin', '/static/media/img/users/photos/default_avatar.png',],
['Antek', '/static/media/img/users/photos/antek.jpg',],
['Rafal', '/static/media/img/users/photos/rafal.jpg'],
['Klaudia', '/static/media/img/users/photos/klaudia.jpg'],
['admin', '/static/img/users/photos/default_avatar.png',],
['Antek', '/static/img/users/photos/antek.jpg',],
['Rafal', '/static/img/users/photos/rafal.jpg'],
['Klaudia', '/static/img/users/photos/klaudia.jpg'],
]
print("Creating UsersProfile")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment