Add github to user profile #83

This commit is contained in:
Lionel Porcheron 2017-04-30 13:30:38 +02:00
parent 793de86141
commit 6911177bda
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-30 11:29
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0002_auto_20170429_2134'),
]
operations = [
migrations.AddField(
model_name='profile',
name='github',
field=models.CharField(blank=True, default='', max_length=100, verbose_name='Github'),
),
]

View File

@ -21,6 +21,7 @@ class Profile(PonyConfModel):
twitter = models.CharField(max_length=100, blank=True, default='', verbose_name=_('Twitter'))
linkedin = models.CharField(max_length=100, blank=True, default='', verbose_name=_('LinkedIn'))
github = models.CharField(max_length=100, blank=True, default='', verbose_name=_('Github'))
website = models.CharField(max_length=100, blank=True, default='', verbose_name=_('Website'))
facebook = models.CharField(max_length=100, blank=True, default='', verbose_name=_('Facebook'))
mastodon = models.CharField(max_length=100, blank=True, default='', verbose_name=_('Mastodon'))