Skip to content

rewrite template tags #115

@nikolas

Description

@nikolas

Rewrite the template tags in templatetags/coursetags.py. The implementation is using outdated django templatetag style. In addition, it also requires complex syntax in the template to call it, like this:

{% course_role for request.user in course as role_in_course %}

I find this a little confusing. Is that a for loop, or what? See if we can clean up this syntax.

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