Fakultas Ilmu Komputer UI

Commit 70109e9d authored by Muhammad Fauzan Fikri's avatar Muhammad Fauzan Fikri
Browse files

fix model and update migrations

parent c0838914
Pipeline #24923 passed with stages
in 5 minutes and 6 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.11.17 on 2019-11-14 07:47
# Generated by Django 1.11.17 on 2019-11-14 08:12
from __future__ import unicode_literals
import core.lib.validators
......@@ -75,13 +75,13 @@ class Migration(migrations.Migration):
('linkedin_url', models.URLField(blank=True, null=True)),
('website_url', models.URLField(blank=True, null=True)),
('region', models.CharField(blank=True, max_length=30, null=True)),
('alamat', models.CharField(blank=True, max_length=50, null=True)),
('recommendations', models.CharField(blank=True, max_length=500, null=True)),
('ui_ux_portofolio', models.FileField(blank=True, null=True, upload_to=core.models.accounts.get_student_ui_ux_portofolio_file_path, validators=[core.lib.validators.validate_document_file_extension])),
('latest_work', models.CharField(blank=True, max_length=100, null=True)),
('latest_work_desc', models.TextField(blank=True, null=True)),
('intro', models.CharField(blank=True, max_length=50, null=True)),
('volunteer', models.CharField(blank=True, max_length=100, null=True)),
('alamat', models.URLField(blank=True, null=True)),
],
options={
'ordering': ['-updated'],
......
......@@ -78,13 +78,13 @@ class Student(models.Model):
linkedin_url = models.URLField(max_length=200,blank=True, null=True)
website_url = models.URLField(max_length=200,blank=True, null=True)
region = models.CharField(max_length=30, blank=True, null=True)
alamat = models.CharField(max_length=50, blank=True, null=True)
recommendations = models.CharField(max_length=500, blank=True, null=True)
ui_ux_portofolio = models.FileField(upload_to=get_student_ui_ux_portofolio_file_path, null=True, blank=True, validators=[validate_document_file_extension])
latest_work = models.CharField(max_length=100, blank=True, null=True)
latest_work_desc = models.TextField(blank=True, null=True)
intro = models.CharField(max_length=50, blank=True, null=True)
volunteer = models.CharField(max_length=100, blank=True, null=True)
alamat = models.URLField(max_length=200,blank=True, null=True)
@property
def name(self):
......
Supports Markdown
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