Skip to main content

Collection of magics.

Project description

Because i dont want to do the same thing all over again. If you are using Django Rest Framework, then this will might help you.


  • Registration and Login
  • Different Authentication Logic (Basic , Token, HMAC Signature)
  • Basic Helpers
  • Since it use DRF, Browsable Rest API!

Quick start

  1. Add “codebehind” to your INSTALLED_APPS setting like this:

  2. Run python migrate to create the useful models.

  3. In your *

        # Use Django's standard `django.contrib.auth` permissions,
        # or allow read-only access for unauthenticated users.
        'PAGE_SIZE': 20
  4. in

    from rest_framework import routers
    from django.conf.urls import include, url
    from codebehind.views import UsersViewSet, GroupViewSet
    router = routers.DefaultRouter()
    router.register(r'users', UsersViewSet,'users')
    router.register(r'groups', GroupViewSet,'groups')
    urlpatterns += [
        # add this
        url(r'^v1/', include(router.urls)),

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for codebehind, version 1.4.17
Filename, size File type Python version Upload date Hashes
Filename, size codebehind-1.4.17-py2-none-any.whl (9.7 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size codebehind-1.4.17.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page