Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.ethertoff
Commits
0f4b817d
Commit
0f4b817d
authored
Nov 19, 2019
by
gijs
Browse files
Forgot to disable old link function
parent
4c7d38c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
generator/models.py
View file @
0f4b817d
...
...
@@ -856,13 +856,6 @@ class Reflection (Model):
'title'
:
fields
.
Single
(
fields
.
StringField
())
}
@
property
def
link
(
self
):
if
self
.
title
.
value
:
return
os
.
path
.
join
(
SITE_URL
,
self
.
prefix
,
'{}.html'
.
format
(
keyFilter
(
self
.
title
.
value
)))
else
:
return
self
.
produser
.
target
.
link
class
Pad
(
Model
):
contentType
=
'pad'
...
...
Write
Preview
Supports
Markdown
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