And it really is that. I had to follow the steps required by vanilla
migration procedure to make it work like I want it to.
On Friday, December 14, 2018 at 11:11:07 PM UTC+8, Simon A wrote:
>
> Oh shoot, I think I know now why this isn't working for me.
>
> It is because I'm using vanilla for my
Oh shoot, I think I know now why this isn't working for me.
It is because I'm using vanilla for my views. I'll continue to test.
On Friday, December 14, 2018 at 8:34:15 PM UTC+8, Simon A wrote:
>
> Just to add, I used a django-crud cookie cutter to generate codes for CRUD
>
> On Monday, Decembe
Just to add, I used a django-crud cookie cutter to generate codes for CRUD
On Monday, December 10, 2018 at 8:47:28 PM UTC+8, Simon A wrote:
>
> I'm trying to pass a parameter from a redirect to the CreateView and to
> the form.
>
> I have no problem retrieving the value from the redirect to the
ith the same name?
>
> Especially since you do have other class-based views, you must know what
> you’re doing.
>
>
>
> *From:* django...@googlegroups.com [mailto:
> django...@googlegroups.com ] *On Behalf Of *Simon A
> *Sent:* Tuesday, December 11, 2018 10:32 PM
> *T
@googlegroups.com] On
Behalf Of Simon A
Sent: Tuesday, December 11, 2018 10:32 PM
To: Django users
Subject: Re: function get_form_kwargs() not being called
I identified that a more efficient way of doing this would be to call the get
initial method but for some reason it doesn't seem to trigger the fun
I identified that a more efficient way of doing this would be to call the
get initial method but for some reason it doesn't seem to trigger the
function that I'm trying to overriede.
*class NoteCreate(CreateView):*
*login_url = 'login'*
*model = Note*
*form_class = NoteForm*
*suc
I'm trying to pass a parameter from a redirect to the CreateView and to the
form.
I have no problem retrieving the value from the redirect to the CreateView.
But my issue is when trying get the value to the form. I'm overriding
get_form_kwargs function of my CreateView but when I try to do o
7 matches
Mail list logo