Tag: django

  • Django Model-Owner

    The option to make a model owned by a user is actually documented for the Django Admin app. However, for reference, here are the steps: First, the model you want to have an owner needs to reference “User” as a foreign key: (in models.py) class Website(models.Model): submitted_by = models.ForeignKey(User, on_delete=models.CASCADE) url = models.URLField() Provided you […]

  • usermanagement with django allauth.

    usermanagement with django allauth: It is common for bots to register with a website. Often enough there are users instances in the user base that have registered at some point but did not verify their email-address. Fortunately enough, for users of django and the excellent django-allauth, there are easy ways to manage these users. First, […]

  • Django 3.0 alpha1 released

    A major version bump, with the largest change being built in support for ASGI, the Asynchronous Server Gateway Interface, that previously could be included via channels. The biggest benefits ASGI offers over the traditional WSGI, is the possibility to build asynchronous operations in webapps, and leverage e.g. WebSockets to push information to the client. Here […]

  • Django 1.8 released

    Django 1.8 release notes

  • Django-Formtools 1.0

    In preparation of Django 1.8, the contrib package formtools was released as a stand alone package. django-formtools 1.0

  • What's new in Django 1.6

    For the interessted:

  • Python and Django scale.

    Scaling Django to 8 Billion Page Views | Disqus: The Official Blog.

  • Django Security Releases

    Django 1.4.7, Django 1.5.3, and Django 1.6 beta 3 via Weblog | Django.

  • django-braces

    Nachdem die view-decorators seit der Einführung von Class Based Generic Views nicht mehr funktionieren ist ein Ersatz oft gebraucht. brack3t/django-braces fasst die gängigen Funktionen, wie beispielsweise LoginRequired oder PermissionRequired, sinnvoll zusammen.