Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
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
OpenEdx
django-wiki
Commits
38252b80
Commit
38252b80
authored
Nov 19, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#213 django 1.6 trouble fixed
parent
5538b393
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
wiki/models/__init__.py
+1
-2
wiki/models/pluginbase.py
+1
-1
wiki/plugins/attachments/models.py
+1
-1
No files found.
wiki/models/__init__.py
View file @
38252b80
...
@@ -75,4 +75,4 @@ def reverse(*args, **kwargs):
...
@@ -75,4 +75,4 @@ def reverse(*args, **kwargs):
return
url
return
url
# Now we redefine reverse method
# Now we redefine reverse method
urlresolvers
.
reverse
=
reverse
urlresolvers
.
reverse
=
reverse
\ No newline at end of file
wiki/models/pluginbase.py
View file @
38252b80
...
@@ -239,7 +239,7 @@ class RevisionPluginRevision(BaseRevisionMixin, models.Model):
...
@@ -239,7 +239,7 @@ class RevisionPluginRevision(BaseRevisionMixin, models.Model):
# Override this setting with app_label = '' in your extended model
# Override this setting with app_label = '' in your extended model
# if it lives outside the wiki app.
# if it lives outside the wiki app.
app_label
=
settings
.
APP_LABEL
app_label
=
settings
.
APP_LABEL
get_latest_by
=
(
'revision_number'
,)
get_latest_by
=
'revision_number'
,
ordering
=
(
'-created'
,)
ordering
=
(
'-created'
,)
######################################################
######################################################
...
...
wiki/plugins/attachments/models.py
View file @
38252b80
...
@@ -97,7 +97,7 @@ class AttachmentRevision(BaseRevisionMixin, models.Model):
...
@@ -97,7 +97,7 @@ class AttachmentRevision(BaseRevisionMixin, models.Model):
verbose_name
=
_
(
u'attachment revision'
)
verbose_name
=
_
(
u'attachment revision'
)
verbose_name_plural
=
_
(
u'attachment revisions'
)
verbose_name_plural
=
_
(
u'attachment revisions'
)
ordering
=
(
'created'
,)
ordering
=
(
'created'
,)
get_latest_by
=
(
'revision_number'
,)
get_latest_by
=
'revision_number'
app_label
=
settings
.
APP_LABEL
app_label
=
settings
.
APP_LABEL
def
get_filename
(
self
):
def
get_filename
(
self
):
...
...
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