Skip to content

Valid slugs #109

Description

@devikasondhi

Is it valid for a slug to contain upper case letters? The input 'NOT-AS-UPPERCASE' to slug() is returned as a valid slug.
Also, the presence of hyphens(-) at the beginning or end of the string isn't handled. For instance, the input '-no-no-no-' to slug() should return False, while it returns a True.

Activity

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

    bugIssue: Works not as designed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions