Skip to content

its collection of django related "stuff": middlewares, decorators and validators used internally at CoderMe.com

License

Notifications You must be signed in to change notification settings

coderme/django-cas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-cas (CoderMe Awesome Stuff)

What's django-cas

  • its collection of django related "stuff": middlewares, decorators and validators used internally at CoderMe.com

Whats include/d

  • Middlewares:
  • Decoators:
  • require_AJAX: Allows ajax request only and raise SuspiciousOperation exception if request is not an ajax.
  • Validators:
  • valid_regex: validate if value is a valid regex or raise ValidationError.
  • zeroslash_slug: validate if a value is a valid slug with no slashes valid slugs those don't contain any of the following chars: ! @ ~ # \ > < : ; [ ] { } % & * ( ) $ / \s ?
  • oneslash_slug: same as zeroslash_slug but value must contain one slash '/' to be considered valid.

About

its collection of django related "stuff": middlewares, decorators and validators used internally at CoderMe.com

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages