Hi!
I've got custom template tag 'set_title' and can't get it work because
render() method isn't called during page render.
I use the tag in template 'traff/all_by_days.html':
{% extends "traff/all_base.html" %}
{% load traff_tags %}
{% set_title "The title" %}
.
When I call render_to_res
Hello!
I managed to deploy my django project in production except static
media.
When I try to access http://localhost/adminmedia/account.js (my static
media file), I get colorful page with stack trace of
django.template.TemplateDoesNotExist exception and
TemplateDoesNotExist: 500.html in apache2
Hi!
I'd like to create custom validation of my admin model. Actually in
should act like unique_together in model but it shouldn't allow
duplicate entries with NULL values in some fields.
I've already done all necessary checks with exception generation in
save() method of the model. The only thin
Hi!
I've got 2 admin models like these:
class MyUserServiceAdminForm(forms.ModelForm):
class Meta:
model = UserService
def clean(self):
Get client_id for validation???
return cleaned_data
class UserServiceAdmin(admin.TabularInline):
model = UserService
fields = ('s
4 matches
Mail list logo