Hello, I have two models here:
class Tender(models.Model):
project = models.ForeignKey(Project, verbose_name=_("Select project"),
on_delete=models.CASCADE)
name = models.CharField(_("Tender name"), max_length=250)
value = models.FloatField(_("Tender value"), default=0, null=True, blank=
Tru
On Monday, September 16, 2019 at 3:14:43 PM UTC+6, Abu Yusuf wrote:
>
> Hello, I have two models here:
>
> class Tender(models.Model):
> project = models.ForeignKey(Project, verbose_name=_("Select project"),
> on_delete=models.CASCADE)
> name = models.CharField(_("Tender name"), max_length=2
def handle_uploaded_file(f):
with open('/home/arvind/Desktop/newupload/documents/'+f.name, 'wb') as
destination:
filepath = destination.name
for chunk in f.chunks():
#time.sleep(1)
destination.write(chunk)
#
def fileupload(request):
if req
On Mon, Sep 16, 2019 at 10:15 AM Abu Yusuf
wrote:
> Hello, I have two models here:
>
> class Tender(models.Model):
> project = models.ForeignKey(Project, verbose_name=_("Select project"),
> on_delete=models.CASCADE)
> name = models.CharField(_("Tender name"), max_length=250)
> value = model
Thanx for the information
Le ven. 13 sept. 2019 à 06:24, Jani Tiainen a écrit :
> Hi.
>
> There exists django-extensions package that has management command to make
> UML diagram for your models.
>
>
> pe 13. syysk. 2019 klo 5.22 Yann Mbella
> kirjoitti:
>
>> Got little problem is it possible t
Hey guys
I have a user who has a problem with his keyboard. When he's captured an
expense from my form, it seems like his key was sticking and it created
~50x objects in the database. Is there a post validation function I can use
to raise an error with this type of problem? Obviously *fix the
how to copy one table content in to another table in database
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view
I needed the contrary having uml diagrams and generating models from
does diagram
Le lun. 16 sept. 2019 à 16:43, Yann Mbella a
écrit :
> Thanx for the information
>
> Le ven. 13 sept. 2019 à 06:24, Jani Tiainen a écrit :
>
>> Hi.
>>
>> There exists django-extensions package that has management
Try using Django-storages and follow the tutorial on
simpleisbetterthancomplex.com
This looks like a permissions issue.
I had similar issues with Google Buckets and sorted it out by reading the
django-storages methods for Google buckets in the source code and then
making sure all the settings wer
Elias, please set up the CORS policy of the S3 bucket:
https://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-cors-configuration.html
On Tue, Sep 17, 2019 at 3:44 AM Anthony Goslar
wrote:
> Try using Django-storages and follow the tutorial on
> simpleisbetterthancomplex.com
>
> This looks li
Thank you for your response
It works for me.
I have forgeted to close form tag.
Thank you so much.
Thanks & Regards
Ruturaj
On Fri, 13 Sep, 2019, 8:14 PM Nelson Varela,
wrote:
> You have to close your first form.
>
> So put somewhere before the second form
>
> Op vrijdag 13 september 2019
11 matches
Mail list logo