Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus
Commits
9b06d8fb
Commit
9b06d8fb
authored
Apr 13, 2016
by
İbrahim YIlmaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HOTFIX peb8 rclose #5273
parent
4381a3b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
form.py
ulakbus/models/form.py
+4
-3
No files found.
ulakbus/models/form.py
View file @
9b06d8fb
...
@@ -24,7 +24,8 @@ class Form(Model):
...
@@ -24,7 +24,8 @@ class Form(Model):
"""
"""
ad
=
field
.
String
(
"Form Adı"
,
index
=
True
)
ad
=
field
.
String
(
"Form Adı"
,
index
=
True
)
file
=
field
.
File
(
"File"
,
index
=
True
,
random_name
=
True
)
# form eger PDF olarak yulendiyse bu alan kullanilir.
file
=
field
.
File
(
"File"
,
index
=
True
,
random_name
=
True
)
# form eger PDF olarak yulendiyse bu alan kullanilir.
permissions
=
Permission
()
permissions
=
Permission
()
date
=
field
.
Date
(
"Form Tarihi"
,
index
=
True
,
format
=
"
%
d.
%
m.
%
Y"
)
date
=
field
.
Date
(
"Form Tarihi"
,
index
=
True
,
format
=
"
%
d.
%
m.
%
Y"
)
...
@@ -33,7 +34,7 @@ class Form(Model):
...
@@ -33,7 +34,7 @@ class Form(Model):
verbose_name
=
"Form"
verbose_name
=
"Form"
verbose_name_plural
=
"Formlar"
verbose_name_plural
=
"Formlar"
list_fields
=
[
'ad'
,
'date'
]
list_fields
=
[
'ad'
,
'date'
]
search_fields
=
[
'ad'
,
'file'
]
search_fields
=
[
'ad'
,
'file'
]
def
__unicode__
(
self
):
def
__unicode__
(
self
):
return
'
%
s
%
s'
%
(
self
.
ad
,
self
.
date
)
return
'
%
s
%
s'
%
(
self
.
ad
,
self
.
date
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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