This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version 0.9.0
- Loading branch information
Showing
11 changed files
with
102 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,6 @@ todo.txt | |
|
||
.coverage | ||
.tox/ | ||
django_markdown.egg-info/ | ||
.cache/ | ||
.eggs/ | ||
django_markdown_app.egg-info/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
2016-11-04 sv0 | ||
* Remove Django 1.6 and 1.7 support | ||
* Version 0.9.0 | ||
|
||
2016-07-24 sv0 | ||
* Add Django 1.10 support | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
""" Django-Markdown supports markdown in Django. """ | ||
|
||
__version__ = "0.8.6" | ||
__version__ = "0.9.0" | ||
__project__ = "django-markdown-app" | ||
__author__ = "Kirill Klenov <[email protected]>" | ||
__license__ = "GNU LGPL" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
""" Define preview URL. """ | ||
|
||
from django import VERSION | ||
from django.conf.urls import url | ||
|
||
from .views import preview | ||
|
||
|
||
if VERSION >= (1, 8): | ||
urlpatterns = [ | ||
url('preview/$', preview, name='django_markdown_preview') | ||
] | ||
else: | ||
# django <= 1.7 compatibility | ||
from django.conf.urls import patterns | ||
urlpatterns = patterns( | ||
'', url('preview/$', preview, name='django_markdown_preview') | ||
) | ||
urlpatterns = [ | ||
url('preview/$', preview, name='django_markdown_preview') | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
import os | ||
|
||
from django import VERSION | ||
from django.core.management import call_command | ||
|
||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tests.settings') | ||
|
||
|
||
if VERSION >= (1, 7): | ||
from django.conf import settings | ||
from django.apps import apps | ||
from django.conf import settings | ||
from django.apps import apps | ||
|
||
apps.populate(settings.INSTALLED_APPS) | ||
call_command('migrate', interactive=False) | ||
else: | ||
call_command('syncdb', interactive=False) | ||
apps.populate(settings.INSTALLED_APPS) | ||
call_command('migrate', interactive=False) | ||
|
||
from django_markdown.tests import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
from django import VERSION | ||
from django.conf.urls import include, url | ||
|
||
if VERSION >= (1, 8): | ||
urlpatterns = [ | ||
url(r'^markdown/', include('django_markdown.urls')), | ||
] | ||
else: | ||
# django <= 1.7.* | ||
from django.conf.urls import patterns | ||
urlpatterns = patterns( | ||
'', | ||
(r'^markdown/', include('django_markdown.urls')), | ||
) | ||
urlpatterns = [ | ||
url(r'^markdown/', include('django_markdown.urls')), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters