File tree Expand file tree Collapse file tree 4 files changed +22
-1
lines changed Expand file tree Collapse file tree 4 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 5050 Asociación cultural {{ organization.name }}< br >
5151 CIF {{ organization.cif }}< br >
5252 {{ organization.address }}< br >
53- {{ organization.postal_code }} {{ organization.city }}
53+ {{ organization.postal_code }} {{ organization.city }}< br >
54+ {{ organization.phone }}
5455 </ p >
5556
5657 < p >
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ <h2 class="subtitle"><i class="fas fa-copyright"></i> {{ organization.name }}</h
2828 < li > {{ organization.rest_address }}</ li >
2929 {% endif %}
3030 < li > {{ organization.postal_code }}, {{ organization.city }}</ li >
31+ < li > {{ organization.phone }}</ li >
3132 < li > < a href ="mailto:{{ organization.email }} "> {{ organization.email }}</ a > </ li >
3233 < li > < a href ="{% url 'about:index' %} "> Sobre la asociación</ a > </ li >
3334 </ ul >
Original file line number Diff line number Diff line change 1+ # Generated by Django 3.2.13 on 2023-01-04 15:14
2+
3+ from django .db import migrations , models
4+
5+
6+ class Migration (migrations .Migration ):
7+
8+ dependencies = [
9+ ('organizations' , '0012_auto_20220510_2236' ),
10+ ]
11+
12+ operations = [
13+ migrations .AddField (
14+ model_name = 'organization' ,
15+ name = 'phone' ,
16+ field = models .CharField (blank = True , max_length = 16 ),
17+ ),
18+ ]
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class Organization(models.Model):
2424 registration_date = models .DateField (blank = True , null = True )
2525 registration_number = models .CharField (max_length = 50 , blank = True )
2626 paypal_username = models .CharField (max_length = 50 , blank = True )
27+ phone = models .CharField (max_length = 16 , blank = True )
2728
2829 @classmethod
2930 def load_main_organization (cls ):
You can’t perform that action at this time.
0 commit comments