Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/d/j/django-easy-button-HEAD/easy/account/views.py   django-easy-button(Download)
    from django_openid.models import UserOpenidAssociation
 
from .utils import get_default_redirect, user_display
from .models import OtherServiceInfo
from .forms import AddEmailForm, ChangeLanguageForm, ChangePasswordForm
            messages.add_message(request, messages.SUCCESS,
                ugettext(u"Successfully logged in as %(user)s.") % {
                    "user": user_display(form.user)
                }
            )
                messages.add_message(request, messages.SUCCESS,
                    ugettext("Successfully logged in as %(user)s.") % {
                        "user": user_display(user)
                    }
                )

src/d/j/django-easy-button-HEAD/easy/account/openid_consumer.py   django-easy-button(Download)
 
from .forms import OpenIDSignupForm
from .utils import get_default_redirect, user_display
from .views import login as account_login
 
                    messages.add_message(request, messages.SUCCESS,
                        ugettext("Successfully logged in as %(user)s.") % {
                            "user": user_display(user)
                        }
                    )

src/d/j/django-easy-button-HEAD/easy/account/templatetags/account_tags.py   django-easy-button(Download)
from django import template
from django.conf import settings
from django.utils.html import conditional_escape
 
from ..utils import user_display
    def render(self, context):
        user = self.user_var.resolve(context)
 
        display = user_display(user)
 

src/d/j/django-easy-button-HEAD/easy/account/forms.py   django-easy-button(Download)
from .models import Account, PasswordReset
from .models import OtherServiceInfo, other_service, update_other_services
from .utils import user_display, perform_login