, the
filtering
behavior can actually be changed. In the tests there is an example
does this.
>
> Cheers.
> Tai.
>
> On Oct 3, 3:25 pm, Vivek Narayanan <m...@vivekn.co.cc> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I've added a patch that provides functio
Hi,
I've added a patch that provides functionality for selecting a custom
manager in a reverse relation , rather than the default manager. For
example:
author = Author.objects.get(id=1)
# Selects the manager 'foobar' of Post.
mgr = author.post_set.managers("foobar")
Hi Russ,
Thanks for the suggestions once again, I've thought of changing the
model for handling nested fields.
Each model can have a no of serializers, and they can be plugged in to
other serializers
and in this way nested models can be handled instead of cycling
through a tree of arbitrary
Hi Russ,
Thanks for the long reply and all the suggestions. My comments are
inline.
> What if you need to support both? e.g.,
>
>
> the bar value
>
>
> It seems to me that you would be better served providing a way to
> annotate each individual metadata value as (and I'm bikeshedding a
>
> I also haven't seen any proposals or examples of how I'd use the API as
> an end user - are people going to be able to register serialisers to
> models (since they're apparently tied to specific models anyway)?
There will be different types of serializers like JSONSerializer,
YAMLSerializer,
ument to serialize().
Weeks 9 - 10
1. Write documentation for the project and provide many examples.
2. Write a few tutorials on how to use the framework.
3. Write some project-level tests, do some extensive final testing
and refine the project.
=
About
=
I am Vivek Narayanan, a secon
On Mar 8, 3:14 pm, Tom Evans wrote:
> Splitting down your project into small chunks will also demonstrate to
> people reading your proposal that you understand the subject matter,
> and they can have a high confidence of the project being delivered.
Thanks, I didn't
On Mar 6, 11:54 am, Russell Keith-Magee <russ...@keith-magee.com>
wrote:
> On Sun, Mar 6, 2011 at 2:41 PM, Vivek Narayanan <m...@vivekn.co.cc> wrote:
> > @Sebastien: I got your point about using a dict as an intermediate
> > structure and the use of recu
piquemal <seb...@gmail.com> wrote:
> Ok ... I have to admit I was not very clear. Here is what I meant,
> illustrated with some code examples :
>
> http://readthedocs.org/docs/django-serializers-draft/en/latest/index
>
> These are my "dream" django-serializers !
>
ridden as a default
method would be provided'''
def meta2_model(self, model):
...
In XML
class XMLSerializer(Serializer):
mode = "xml"
wrap_fields = "fields"
nesting_depth = 0
metadata_display_mode = ATTRIBUTES
indent = 4
field_tag_name = &
Hi,
I am Vivek Narayanan, an undergrad student at IIT, Varanasi in India
and am interested in participating in this year's SoC
Problem
Django provides a serialization framework that is very useful for
loading and saving fixtures, but not very flexible if one wants to
provide an API
Hi,
I was looking at the ticket at http://code.djangoproject.com/ticket/15040
in which 0 or 1 are returned instead of boolean values in a
BooleanField when MySQL is used with select_related(). Since MySQL
handles them as 0 or 1, they need to be converted.
>From my understanding, when
Hi,
I am new to the Django community and I would like to implement a patch
for the ticket #8809 - "Better error message when can't import url
callback".
http://code.djangoproject.com/ticket/8809
This ticket basically requires the error message, when a callback
function in urlpatterns is not
On Feb 3, 3:07 am, Gabriel Hurley wrote:
> Hi Vivek,
>
> It's great to hear you're interested in contributing! This year's GSOC is
> just getting underway and while Django will likely participate as it has in
> years past, we're not quite at that stage yet.
>
> However, if
Hi,
I am Vivek Narayanan, a sophomore undergraduate student from India. I
am interested in contributing to the Django project, through GSoC
(Google Summer
of Code) or otherwise. I have been using Django for a while and have
developed a few applications on social
networking sites . I have
15 matches
Mail list logo