Thanks for the reponse! My template looks like this:
{{ formset.management_form }}
{{ formset }}
{% csrf_token %}
Here is the print request.POST:
form-1-salaryform-MAX_NUM_FORMSform-0-surnameform-0-nameform-TOTAL_FORMSform-MIN_NUM_FORMSform-0-idform-1-nameform-
I cannot seem to figure this, although I suspects it is really elementary:
I have two models:
class Employee(models.Model):
id_number = models.CharField(max_length=13)
surname = models.CharField(max_length=100)
name = models.CharField(max_length=100)
class Payslip(models.Model):
surname =
Hello,
How can you include annotated results in a serialized QuerySet?
I have this serialized query:
serializers.serialize('json',
Song.objects.filter(is_playing=False).annotate(nr_votes=Count('votes')).order_by('-nr_votes'))
However the key/value pare {'nr_votes': number} is not include into t
ng of the .po file, or no encoding
defined in it?
Werner
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsub
On 29 Jun., 09:29, Enquest <[EMAIL PROTECTED]> wrote:
> If I where to write a small application with Django that needs
> authentication on the user level (only edit what you or a group can
> edit)... Can I then use the authention model for this?
Yes, this may help you too ->
http://code.google.co
Hello Kelvin,
just a few sugsession:
* use sqlite3 to have a simple & fast setup
* use CACHE_BACKEND = 'dummy:///' (again easier for the first steps)
* remove Google Analytics from the base.html Template :-))
I am still a django virgin and very frustrated there aren't more
*good & readable* sou
I found the solution.
It is very simple. I need only a directory named 'widget' in my
project-template-directory.
Thats all!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gr
Hi everybody,
I'm creating a new widget/template for my admin interface
(image_with_thumbnail.html for
nesh.thumbnail.field.ImageWithThumbnailField).
For the moment it works fine, if I put the image_with_thumbnail.html
in django/contrib/admin/templates/widget, but I don't want patch the
django-pa
8 matches
Mail list logo