Thanks for the info. I didn't know about either tastypie or piston. The easy
ability to throttle a users number of requests is awesome.
-Brian
On Mon, Oct 3, 2011 at 12:40 PM, sanket wrote:
> please checkout Tastypie .. I was able to RESTify my django app in
> couple of hours
>
> On Oct 3,
Hi He,
I always try to break my regex's down to their simplest components, then
test them here, http://www.regular-expressions.info/javascriptexample.html.
Try testing each part of your regex there and see if you can see which part
is broken. Also an example url of what you are trying to match wou
gt; that works so far for displaying the correct choices in the admin
> interface. But the problem now is the validation. He always tells me
> that my choice is not a correct value.
> I have been looking for a way to change validation but I can't figure
> out how to do this...
>
>
HI, Artemis,
If I understand you correctly you want to use a Select Widget for your
CharField. And feed your choices to the select widget.
In your admin.py file of your app you will want to override the model's form
field.
# models.py
from django.db import models
myModel(models.Model):
perso
4 matches
Mail list logo