Browse Source

some new update

Updated-Home-Design
Mohammad Jafari 1 year ago
parent
commit
4abe693fb5

+ 3
- 3
ballerapp/migrations/0001_initial.py View File

@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-18 22:16
# Generated by Django 1.11.6 on 2018-01-11 15:00
from __future__ import unicode_literals

from django.db import migrations, models
@@ -20,8 +20,8 @@ class Migration(migrations.Migration):
('country', models.CharField(max_length=20)),
('city', models.CharField(max_length=20)),
('street', models.CharField(max_length=20)),
('hausNumber', models.CharField(max_length=15)),
('pub_date', models.DateTimeField(verbose_name='date published')),
('hous_number', models.CharField(max_length=15)),
('place_pic', models.FileField(blank=True, upload_to='place_pic')),
],
),
]

+ 0
- 0
ballerapp/migrations/__init__.py View File


+ 4
- 4
ballerapp/templates/ballerapp/adresse_list.html View File

@@ -77,13 +77,13 @@
</a>
</p>
<p id="btn-court">
{% if instance.image %}
<a onclick="maximize( '{{ adresse.place_pic.url}}' )">
<a onclick="maximize( '{{ adresse.picture.url}}' )">
<button class="btn btn-5 btn-5a icon-cart btn-secondary"><span>Court</span></button>
</a>
{% else %}
<img src="{% static 'images/symbol.png' %}">
{% endif %}
</p>
</section>
</div>

+ 1
- 1
ballerweb/settings.py View File

@@ -26,7 +26,7 @@ SECRET_KEY = 'p1t%6=5ermfl5t8hwg*4@kh-o*-$3h+^u3=%d&8ym-!w8y#-ij'
DEBUG = True

ALLOWED_HOSTS = [
'vbox'
]



Loading…
Cancel
Save