Skip to content
Snippets Groups Projects
Commit 3c014f78 authored by jblemee's avatar jblemee
Browse files

refactor: move jabberID, jabberRoom and picture in their own package

parent fb5bfb8f
No related branches found
No related tags found
No related merge requests found
...@@ -5,13 +5,10 @@ from django.dispatch import receiver ...@@ -5,13 +5,10 @@ from django.dispatch import receiver
class Profile(models.Model): class Profile(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE) user = models.OneToOneField(User, on_delete=models.CASCADE)
picture = models.URLField(blank=True, null=True)
available = models.NullBooleanField(blank=True) available = models.NullBooleanField(blank=True)
bio = models.CharField(max_length=255, blank=True, null=True) bio = models.CharField(max_length=255, blank=True, null=True)
city = models.CharField(max_length=255, blank=True, null=True) city = models.CharField(max_length=255, blank=True, null=True)
country = models.CharField(max_length=255, blank=True, null=True) country = models.CharField(max_length=255, blank=True, null=True)
jabberID = models.CharField(max_length=255, blank=True, null=True)
jabberRoom = models.NullBooleanField(blank=True)
phone = models.CharField(max_length=255, blank=True, null=True) phone = models.CharField(max_length=255, blank=True, null=True)
website = models.URLField(blank=True) website = models.URLField(blank=True)
......
...@@ -5,7 +5,7 @@ from setuptools import setup, find_packages ...@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(name='djangoldp_profile', setup(name='djangoldp_profile',
version='0.0.5', version='0.0.6',
description='djangoldp package for profile data models', description='djangoldp package for profile data models',
url='http://git.happy-dev.fr/startinblox/djangoldp_profile', url='http://git.happy-dev.fr/startinblox/djangoldp_profile',
author="Startin'blox", author="Startin'blox",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment