Code Monkey home page Code Monkey logo

django-workshop's People

Contributors

keimlink avatar krid78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

django-workshop's Issues

Django 1.6+No module named userauth

Django Version: 1.6
Exception Type: ImportError
Exception Value:
No module named userauth

Error during template rendering

In template /home/webapps/django_app/myproject/userauth/templates/userauth/toggle_login.html, error at line 6

#!python

1   {% if user.is_authenticated %}
2       <p>Hallo {{ user.username }}!
3       <a href="{&#37; url "userauth_password_change" &#37;}">Passwort ändern</a>
4       <a href="{&#37; url "userauth_logout" &#37;}">Logout</a></p>
5   {&#37; else &#37;}
6       <p><a href="{&#37; url "userauth_login" &#37;}">Login</a></p>
7       <a href="{&#37; url "userauth_register" &#37;}">Registrieren</a
8   {&#37; endif &#37;}

'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs

Hi. Ich bekomme folgende Fehler, hängt es wirklich von Version ab?

'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs.
1 {% if user.is_authenticated %}
2

Hallo {{ user.username }}!
3 Passwort ändern
4 Logout


5 {% else %}
6

Login
7 Registrieren


8 {% endif %}
9

Grüße Andrey Bukhman


Explain how to style Forms

At the moment, django-workshop lacks of an explanation how to theme a form by giving it own css-classes. As seen in django-marcador Issue #61, the new bootstrap3 need some classes to work properly. This would make a good example. After the trainee has seen how much work it is, django-crispy-forms could be introduced to make it easier.


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.