The ArtworkForm AND the full view code would be helpful, yes
also, maybe you'll want to install django-extensions, werkzeug, and
run your devserver with runserver_plus, that'll give you full
debugging capabilities on your browser, and will be able to see what's
each object (that instace object, sp
Like the code for ArtworkForm
On 7/26/12, Babatunde Akinyanmi wrote:
> Looks good to me. Are you sure have shown us all the relevant parts of
> your code?
>
> On 7/25/12, Deathweasel wrote:
>> Hello, guys.
>> This is Django 1.4.
>>
>> I have this code from my view:
>>
>> my_art = ArtworkMode
Looks good to me. Are you sure have shown us all the relevant parts of
your code?
On 7/25/12, Deathweasel wrote:
> Hello, guys.
> This is Django 1.4.
>
> I have this code from my view:
>
> my_art = ArtworkModel.objects.get(id=pk)
> comments = CommentModel.objects.filter(artwork=pk)
> artForm = Ar
You can pass modelformset_factory a kwarg form which should just me
the form class you want to use(aka make a ModelForm with the changes
to the widgets).
Alex
On Nov 21, 7:25 pm, ayayalar <[EMAIL PROTECTED]> wrote:
> Karen,
>
> On this note, is it possible to customize the widget's for formsets
Karen,
On this note, is it possible to customize the widget's for formsets as
well?
Thank you.
On Nov 21, 3:23 pm, ayayalar <[EMAIL PROTECTED]> wrote:
> Thanks Karen. That's exactly the case. Link you provided very helpful.
>
> On Nov 21, 3:00 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
>
>
Thanks Karen. That's exactly the case. Link you provided very helpful.
On Nov 21, 3:00 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 21, 2008 at 4:22 PM, ayayalar <[EMAIL PROTECTED]> wrote:
>
> > I am just simply trying to display all existing objects in a form
>
> > MODEL:
> > clas
On Fri, Nov 21, 2008 at 4:22 PM, ayayalar <[EMAIL PROTECTED]> wrote:
>
> I am just simply trying to display all existing objects in a form
>
> MODEL:
> class Product(models.Model):
>name = models.CharField(max_length=30)
>
>def __unicode__(self):
>return self.name
>
> VIEW
> def pr
7 matches
Mail list logo