Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-04 Thread Mayur Bagul
hi john, thanks for help. i new to django so i dont know how its work and how its syntax is. until i found resource and learn it. im not getting your solution but i will search and try to learn it. thanking you. On Fri, May 3, 2019 at 9:05 PM John Bagiliko wrote: > import serializers from dj

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-04 Thread Mayur Bagul
hi gurmeet, Thanks for help. as you given solution i didnt learned jason and ajax. so should i learn its syntax and to understand how i can use this inside django? or should i learn specific portion of it. Because when i see provide code from u guys i dint understand how to use it. it will be be

Re: WYSIWYG/Rich Text Editor recommendations

2019-05-04 Thread Swatantra Kumar
Hi Tim, As your requirement is of a WYSIWYG editor, I often use CKEditor javascript library directly in my Django projects as I can't get any alternative which can provide features such as image/attachment upload, link pages, etc which are available with CKEditor. Also, check this Django CKEditor

django-storages parameters

2019-05-04 Thread Britto .
Hello All, How could we find out what are the parameters are available for a variable in django-storages? For example AWS_S3_OBJECT_PARAMETERS what are the available parameters? Where could we find it? Cannot see it in django-storages documentation other than a sample. AWS_S3_OBJECT_PARAMETERS

Re: Serving Files with Django

2019-05-04 Thread Kayode Oladipo
Hello, You can use the default Django FileField() for this. Cheers On Wed, May 1, 2019, 12:20 Hello! Am currently working on a web app which allows user to upload files > of less that 1 gb size in any office formates like pdf, docx and some other > extentions for programs like .h, .py, .kt, .ja

How to pass variables to update form in templates.

2019-05-04 Thread sairanganadh Narayana
I have integrated an api. I wrote add functionality by using simple form and saving the details and effecting on api. But, while writing update functionality, there is requirement to send data from views file to templates. Because, I didn't use any models. How to pass data to templates from view

About query strings in urls

2019-05-04 Thread Surajeet Das
I am actually developing an android app which will fetch data using an api . I am trying to pass multiple parameters in the url using query strings, but I am not able concatenate those parameters in the url. eg: U/userapi/?email=abc&pass=bcd I trying to achieve the above example. How do I take

Re: WYSIWYG/Rich Text Editor recommendations

2019-05-04 Thread Tim Johnson
* Tim Johnson [190430 16:27]: > Using python 3.7.2 and django 2.1.5 > > Production is in Ubuntu 16.04 and prospective deployment is likely > to be CentOS with same python/django. > > I'm a retired python developer. > > I'd welcome recommendations and/or caveats regarding a stable > WYSIWIG "pl

Re: S3 Lifecycle expiration

2019-05-04 Thread Britto .
Not clear what are you referring with services.py. I know boto3 and django-storages. But how to configure it is the question. For boto3 there is a settings.py variable AWS_S3_OBJECT_PARAMETERS through that we could set expiration. Just wanted to make sure that how do we set different expiration fo

Re: S3 Lifecycle expiration

2019-05-04 Thread Hardipinder Singh
Hey Britto, Check boto3 for this. Django can be used to check data using services.py. Hope this helps Thanks & Regards Hardipinder Singh > On 04-May-2019, at 13:39, Britto . wrote: > > Hello All, > > How could we set S3 life-cycle expiration for a file from Django when > uploading to S3 ba

S3 Lifecycle expiration

2019-05-04 Thread Britto .
Hello All, How could we set S3 life-cycle expiration for a file from Django when uploading to S3 back-end? Regards Britto -- 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 a