The more I think about this the more I realize that what I'm talking about
IS exactly a REST api.
If I write a phone app, I will code all the presentation layer locally on
the phone (client-side) and use json/xml to dynamically fetch data from the
server.
Why isn't this the same for websites?
I'm creating a CMS using django-cms and some custom plugins. Everytime I do
this I get sick or writing the same views time and time again.
Quick example, I have a *Project* model that can have one or more *
Categories*, *Tags* and *Clients:*
*
*
class Project(...)
categories = models.ManyToMa
Wow, thanks for the great reply. It makes sense that it's the related object
manager. I have everything working now so thank you very much again!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://
I am trying to use a 3rd party form field and custom widget in my own model
form and I am having trouble understanding what the "rel" attribute is used
for.
for example:
class SomeFormField(forms.ModelChoiceField):
def __init__(self, rel, queryset, to_field_name, *args, **kwargs):
...
I see it
4 matches
Mail list logo