Commit 72d15ff6 authored by okhin's avatar okhin 🚴

Adding a website for the organization

parent 9b0d730d
Pipeline #819 passed with stages
in 48 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-01-30 10:34
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('organization', '0004_auto_20170130_1125'),
]
operations = [
migrations.AddField(
model_name='organization',
name='website',
field=models.URLField(blank=True),
),
]
......@@ -11,6 +11,7 @@ class Organization(models.Model):
related_name='organizations')
description = models.TextField(blank=True)
logo = models.ImageField(upload_to='organization/logos/', blank=True)
website = models.URLField(blank=True)
def __str__(self):
return self.name
......
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