I'm having the same problem - using a modelform
I've got two fields jad_file and jar_file, I notice when I look at the
html that they turn into
id_jad_file
and
id_jar_file
Is there a reason for this?
On May 20, 7:13 pm, Karen Tracey wrote:
> On Wed, May 20, 2009 at 2:39 AM, watad wrote:
>
> >
I'm using a CustomUploadHandler for one of my views, but the form is
always invalid - also request.FILES is also blank ?
I'm a bit new to django, so not entirely sure whats going on
## form
class UploadMidletPairForm(ModelForm):
class Meta:
model = MidletPair
### uploadhandler
class
Reposted as own subject with all the details
On May 21, 5:18 pm, "Stu.Axon" wrote:
> I'm having the same problem - using a modelform
>
> I've got two fields jad_file and jar_file, I notice when I look at the
> html that they turn into
> id_jad_file
> and
&
Any idea how to get saving to a specific location working? I've got
this half working...
I extended TemporaryFileUploadHandler with a CustomUploadHandler that
copies the files to the right location in file_complete.
However, when I call form.save() the files get saved to the MEDIA_ROOT
folder?
I've got a table that has a list of classnames (that aren't models) that
are subclasses of a class.
I'd like to hook into makemigrations and generate data migrations to add /
remove data as required - any idea the best way I can do this ?
--
You received this message because you are subscribed
and is necessary python manage.py
>> migrate. I hope you will understand this.
>>
>> On Fri, 12 Aug 2022, 12:56 am Stu.Axon, wrote:
>>
>>> I've got a table that has a list of classnames (that aren't models) that
>>> are subclasses of a class.
&g
I've got a piston based app, I want to be able to send a password
reset email + having trouble working it out.
I tried this so far:
from django.contrib.auth.views import password_reset
password_reset(request, post_reset_redirect = '/')
But no email seems to be sent... not sure how to fully debug
7 matches
Mail list logo