Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Class Project
Kape
Commits
6a01dd59
Commit
6a01dd59
authored
Mar 28, 2017
by
Zamil Majdy
Browse files
#140654507
#8
Rename alamat to address
parent
567b0332
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/migrations/0004_auto_20170328_1417.py
0 → 100644
View file @
6a01dd59
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-28 07:17
from
__future__
import
unicode_literals
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'core'
,
'0003_auto_20170328_1400'
),
]
operations
=
[
migrations
.
RenameField
(
model_name
=
'company'
,
old_name
=
'alamat'
,
new_name
=
'address'
,
),
]
core/models/accounts.py
View file @
6a01dd59
...
...
@@ -69,7 +69,7 @@ class Company(models.Model):
description
=
models
.
TextField
()
verified
=
models
.
BooleanField
(
default
=
False
)
logo
=
models
.
FileField
(
upload_to
=
get_company_logo_file_path
,
null
=
True
,
blank
=
True
)
a
lamat
=
models
.
CharField
(
max_length
=
1000
,
blank
=
True
,
null
=
True
)
a
ddress
=
models
.
CharField
(
max_length
=
1000
,
blank
=
True
,
null
=
True
)
@
property
def
name
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment