Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

markdown.version throws attribute error breaking Django Rest Framework #711

Closed

Description

@mlissner

Over in Django REST Framework, they have a library with the following code:

https://github.com/encode/django-rest-framework/blob/master/rest_framework/compat.py#L164-L172

Notably, it uses markdown.version to do some version sniffing. In 3.0, this throws an attribute error.

Bugs:

  • Should this come back in 3.0.1, say?
  • I don't see this documented in the changelog.

It'd be great to see it coming back. Otherwise, I suspect the Django REST Framework folks will need to adapt to not use this attribute or catch it when it fails.

Activity

  1. facelessuser commented on Sep 24, 2018

    @facelessuser
    Collaborator

    This is a duplicate of #709

  2. mlissner commented on Sep 24, 2018

    @mlissner
    Author

    Thanks! I searched for an issue, but didn't find one. I guess this'll at least help the next couple people until it's released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions