You can resize an image using the Pillow library or open-cv. Sent from Mail for Windows 10 From: Ali AhammadSent: 17 May 2020 22:45To: Django usersSubject: How to resize image from Django ckeditor_uploader in the HTML template while rendering? I am using Django ckeditor_uploader to make a post view
Hi, if i add Categories , for example
1)accessories
2)sports
3)books
Subcategories:
accessories is the parent category
child categories are
watches
jewlry
caps
how can i show if user selects the parent category accessories then the
subcategories show according to parent categories like subcate
Hi ,
Mysql query which we used previously now we moved to postgresql,
Here is the below query in mysql , Can anyone help me to write
similar query in postgresql.
query = "LOAD DATA LOCAL INFILE '41098_category_list.txt' INTO TABLE
pages_rim_ls_categories FIELDS TERMINATED BY '|' LINES TERMINATED B
Why don’t you use fetch api? Its simple. Once you get the response from the server, you can use InsertAdjacentHtml. Sent from Mail for Windows 10 From: Motaz HejazeSent: 18 May 2020 07:34To: Django usersSubject: Re: how to write Ajax for a Like button in Django The button is submitted but without
thanx for your reply. i am using pillow in my profile app. but the main
issue is with ckeditor_uploader as you know i have to use
RichTextUploadingField(). besides it i have to mention in urls.py and i
have to render it corresponding variable name in the template. my main goal
was if i upload a
I struggled to find this in the Django ticketing system when I posted it,
but I searched again this morning and found a few bugs that seem to be
related. They were closed with comments indicating that
https://code.djangoproject.com/ticket/10060 seems to be the root cause.
Looks like this is a
Sorry, I’ m just a beginner in Django but I think what you need to look at is the “Fetch API”. https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API. https://www.youtube.com/watch?v=c3qWHnJJbSYYou can send an image through your view as HttpResponse(image_object in bytes/base64 format) object
Dear all,
Require sales and marketing interns for django, javascript based artificial
intelligence project.
regards
willy
+91 9910669700
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails f
I am facing issue in quering the database.
I cannot write join query in django orm.
On Sunday, 17 May 2020 18:04:47 UTC+5:30, Akshat Zala wrote:
>
> I wish to share the post with friends in django application.
>
> My project flow chart is as follows:
>
>
> 1. User registers for an account.
> 2. U
Hi Jorge,
I tried placing a dot in front of settings_dev_sai, it didn't work. by the
way, I am using Python 2.7 and Django 1.10 versions.
[image: image.png]
this is my project structure. I am using a virtual environment.
Please let me know what you think sir
On Sat, May 16, 2020 at 7:54 PM Jorge
hi,
i am fishing for some ideas how to prevent django from doing a "lot of
drama" when some script kiddy is hitting it with a scan or other types
of invalid requests like this:
Subject: ERROR (EXTERNAL IP): Internal Server Error: /
Internal Server Error: /
ValueError at /
A string literal cann
Hi,
Do you need Chinese guys for this project?
Fred
发自我的iPhone
> 在 2020年5月18日,21:44,maninder singh Kumar 写道:
>
>
> Dear all,
>
> Require sales and marketing interns for django, javascript based artificial
> intelligence project.
>
> regards
> willy
> +91 9910669700
> --
> You received t
When I work on client projects, I deploy to a test server that is under my
control. Once the project is complete and they have paid the invoice, I
deploy to the production server under their control. At that point, I don't
care if they have access to the code - my contracts give the clients all
Hi Motaz,
I tried it again now but when I press it there is no change. The likes
count is the same and the like button doesnt change to dislike
On Sunday, May 17, 2020 at 10:05:12 PM UTC-4, Motaz Hejaze wrote:
>
> The button is submitted but without page refresh
>
> On Mon, 18 May 2020, 3:53 am
hey could anyone help with this?
On Mon, May 18, 2020 at 2:44 PM chaitanya orakala
wrote:
> Hi Jorge,
> I tried placing a dot in front of settings_dev_sai, it didn't work. by the
> way, I am using Python 2.7 and Django 1.10 versions.
> [image: image.png]
> this is my project structure. I am usi
On 19/05/2020 11:10 am, chaitanya orakala wrote:
I am using Python 2.7
It is possible you need a top line in the file like this ...
from __future__ import absolute_import
I haven't been following this thread so someone may have mentioned that
already.
--
You received this message because
I get your point but my solution is kind of a SaaS Application. the client
wants to host it on his controlled server and if they get the source code,
they can replicate, modify and maybe sell it. Is there a way to host the
compiled file or lock the directory to the project.
*AJAYI Sunday *
(+234
I'm a relatively new Django user.
I'm running into a problem related to relative imports.
I have a project and app set up the usual way
mysite
-- myapp
__init__.py
all the modules and templates in myapp including one that contains the
definition of MyClass
-- mysite
__init__py
I'm setting up a Django instance running with gunicorn, behind Apache.
Running on the server, the initial page comes up at http://server_host/dj/,
but all the static resources give a Status Code "301 Moved Permanently".
Here's an example URL:
http://server_host/dj/static/app_name/bootstrap/cs
I tried that way, sir. but it's of no use. I don't know how to resolve
this issue. its been troubling me for 3 days now
On Mon, May 18, 2020 at 9:29 PM Mike Dewhirst wrote:
> On 19/05/2020 11:10 am, chaitanya orakala wrote:
> > I am using Python 2.7
>
> It is possible you need a top line in the
Hello everyone
I am hosting my website on google cloud platform on Ubuntu VM instance. I
cannot find a way to set the environment variable in the machine
Like when I type on my local machine os.environ.get("SECRET_KEY") it give
me the key but when I type the same command on VM instance it shows m
In urls.py of the project directory:
path('login/', auth_views.LoginView.
as_view(template_name='users/login.html', redirect_authenticated_user=True),
name='login'),
On Monday, 17 December 2012 18:39:25 UTC+5:30, ke1g wrote:
>
>
>
> On Mon, Dec 17, 2012 at 5:14 AM, Ashish Sable > wrote:
>
>>
>>
You need to save in ~/.profile
On Tuesday, 19 May 2020 10:26:17 UTC+5:30, Anirudh choudhary wrote:
>
> Hello everyone
>
> I am hosting my website on google cloud platform on Ubuntu VM instance. I
> cannot find a way to set the environment variable in the machine
>
> Like when I type on my loca
You can refer the link below:
1. https://cloud.google.com/community/tutorials/secrets-manager-python
On Tuesday, 19 May 2020 10:26:17 UTC+5:30, Anirudh choudhary wrote:
>
> Hello everyone
>
> I am hosting my website on google cloud platform on Ubuntu VM instance. I
> cannot find a way to set t
Hi all,
I am trying to add a row in the DB using the following views.py:
# Create your views here.
> from django.shortcuts import render
> from fusioncharts.models import Component,Report
> import xlrd
> def pie_chart(request):
> labels = []
> data = []
> loc = ("C:\Django_apps\QRC_
25 matches
Mail list logo