Question: I created this helper method using a lambdaexpression to used strongly type helper in a view

Helper

```

        public static string DateFor<TModel, TDate>(this HtmlHelper<TModel> helper, Expression<Func<TModel, TDate>> expression)
        {
            ModelMetadata data = ModelMetadata.FromLambdaExpression(expression, helper.ViewData);
            StringBuilder sb = new StringBuilder();
            ...
            //code that creates three dropdownlist (day, month and year)
            ...
        }

```

view

```

        <%= Html.LabelFor(model => model.DataNascita) %>

```

Controller

```

        [HttpPost]
        public ActionResult Edit(int id, Account MyAccount)
        {
            ...
            return View(...);
        }

```

my problem is that the MyAccount.DataNascita is not set with the value i choose in the Edit form (date's value minimun.. ex. 1900/01/01).

how to bind it in a Edit post action?

Answer: 
Sorry I had totally forgot about this question. This is how I ended up solving it (with thanks to FunkyBob on #django):

```
from django.core.serializers.python import Serializer

class MySerialiser(Serializer):
    def end_object( self, obj ):
        self._current['id'] = obj._get_pk_val()
        self.objects.append( self._current )

 # views.py
 serializer = MySerialiser()
 data = serializer.serialize(some_qs)

```
Here's a serializer that removes all metadata (pk, models) from the serialized output, and moves the fields up to the top-level of each object. Tested in django 1.5

```
from django.core.serializers import json

class CleanSerializer(json.Serializer):

    def get_dump_object(self, obj):
        return self._current

Serializer = CleanSerializer

```

Edit:

In migrating my app to an older version of django (precipitated by a change in hosting provider), the above serializer stopped working. Below is a serializer that handles the referenced versions:

```
import logging
import django

from django.core.serializers import json
from django.utils.encoding import smart_unicode

class CleanSerializer148(json.Serializer):

    def end_object(self, obj):
        current = self._current
        current.update({'pk': smart_unicode(obj._get_pk_val(),
                                            strings_only=True)})
        self.objects.append(current)
        self._current = None

class CleanSerializer151(json.Serializer):

    def get_dump_object(self, obj):
        self._current['pk'] = obj.pk
        return self._current

if django.get_version() == '1.4.8':
    CleanSerializer = CleanSerializer148

else:
    CleanSerializer = CleanSerializer151

Serializer = CleanSerializer

```