Giter Club home page Giter Club logo

Comments (6)

Nolapete avatar Nolapete commented on July 23, 2024 7

Just go change your urls.py under Lib/site-packages/django_markdown to:

""" Define preview URL. """

from django.conf.urls import url

from .views import preview

urlpatterns = [
    url('preview/$', preview, name='django_markdown_preview'),
    ]

from django_markdown.

sv0 avatar sv0 commented on July 23, 2024 4

@Jzarecta @raratiru
Please have a look at this comment.

from django_markdown.

wisetc avatar wisetc commented on July 23, 2024 1
  File "/usr/local/lib/python3.6/site-packages/django_markdown/urls.py", line 3, in <module>
    from django.conf.urls import patterns, url
ImportError: cannot import name 'patterns'

cause internal server error. django version ==1.10

from django_markdown.

raratiru avatar raratiru commented on July 23, 2024

Indeed.

#59 notifies for this issue from 1.9. version. However, it seems that the latest project commit (of March 2015) will remain as such.

Hopefully @sv0 will make his branch an official new project as stated in #70 which is the 12th unanswered pull request.

from django_markdown.

raratiru avatar raratiru commented on July 23, 2024

@wisetc , Django-1.10 is unsafe to use.

Current LTS release is Django-2.2.

django_markdown project is not supported since 2015.

Try this fork instead.

from django_markdown.

wisetc avatar wisetc commented on July 23, 2024

@raratiru Thank you very much. I've switched to the django-markdown-app just as your advice.

from django_markdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.