Hi all,
I'm developing a tool in which I'm using* Angular 6* for frontend and *Django
rest framework* for the backend. To connect Django and MySql I'm using
*SqlAlchemy*.
Now, I'm facing issue "*MySql Too many connections"* when there is an
increase in usage of API or you can say no. of users(
Hi all,
I'm developing a tool in which I'm using* Angular 6* for frontend and *Django
rest framework* for the backend. To connect Django and MySql I'm using
*SqlAlchemy*.
Now, I'm facing issue "*MySql Too many connections"* when there is an
increase in usage of API or you can say no. of users(
I want to add an for each method in inside script but for some reason
django template tags not working in this case only.
can someone please help me ! thanks alot
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this grou
Hey there guys,
I'm happy to say that we've finally figured out the bug. It was never an
error with the underlying DBMS or Django itself. It was our code. It's sad
that we didn't figure it out sooner and had to spend so many man hours on
this.
As I said, the *select_for_update *was never a pr
hi,
I didn't think django template tags are relevant with script or any html
code. They are totally different things.
I think it's just your code editor didn't recognize the tags, have you
tried ignore them and see if django will report an error ?
On Thu, Oct 10, 2019 at 6:22 PM Rain wrote:
> I
Hi,
This is completely vaid, as long as you use a render method to render the
html file. It shouldn't be a problem. How do you include this in your html
page?
Regards,
Andréas
Den tors 10 okt. 2019 kl 12:22 skrev Rain :
> I want to add an for each method in inside script but for some reason
>
its totally fine now its just my code editor not reading it thanks for your
help. Appreciated..!!
On Thu, Oct 10, 2019 at 7:04 PM Andréas Kühne
wrote:
> Hi,
>
> This is completely vaid, as long as you use a render method to render the
> html file. It shouldn't be a problem. How do you include th
Thanks Alot. its just my code editor not reading it. appreciate your
Help..!!
On Thu, Oct 10, 2019 at 6:55 PM wd wrote:
> hi,
>
> I didn't think django template tags are relevant with script or any html
> code. They are totally different things.
> I think it's just your code editor didn't recog
suggestion:
it's better to post code snippets as text (i.e. use `code` markup)
about your question: what you mean by "i want to do a combination"? you
what to display both filters and both lists on the same page? in that case
you want to setup custom view.
On Thursday, October 10, 2019 at 1:48:5
so, it's not reproducing when you run it locally?
also, can you provide an example of string where you have "strange"
character? most probably you store it in database.
On Thursday, October 10, 2019 at 1:48:52 AM UTC+3, Boris Romero wrote:
>
> Hi!
>
> I recently update Django from 1.11 to 2.2.6
Hi! Yes, it's reproducing when I run it locally, but with DEBUG=FALSE and
with nginx and uwsgi. And no, it's not a database encoding problem, it just
involves the templates, because the same database, with diferents instances
of the app (with the upload and without it) not make any differences.
Sorry , I dont't know.
Devender Kumar 于2019年10月9日周三 下午1:30写道:
> Digital ocean
>
>
> On Tue 8 Oct, 2019, 3:02 PM ram.mullapudi,
> wrote:
>
>>
>> Hello,
>>
>> I'm looking for cheaper, secure and reliable way to host my website? The
>> site is being developed on DJango FWK. We are currently on GC
NB :i'm new to learn django... as well student and stuck in Template Tag
task (Sorry if i asked silly question).
--
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
How does one deploy an already developed django app using Docker?
--
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 v
ook-Air:ioadigital shailendra$ pip install psycopg2
Collecting psycopg2
Using cached
https://files.pythonhosted.org/packages/5c/1c/6997288da181277a0c29bc39a5f9143ff20b8c99f2a7d059cfb55163e165/psycopg2-2.8.3.tar.gz
Installing collected packages: psycopg2
Running setup.py install for psycopg2 ..
Hi I have a situation to manage multiple models with FK for a single
CreateView.
Can someone give me a solution for the below.
class Client(models.Model):
name = models.CharField(max_length=100)
email = models.EmailField()
phone = models.CharField(max_length=100)
business = mo
Use git to clone the code within the container to fetch latest copy of
code.
On Thu, 10 Oct 2019, 20:59 balogun tobi, wrote:
> How does one deploy an already developed django app using Docker?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" gro
What is mean FK Shaziya
On Thu, 10 Oct 2019, 9:19 pm Shazia Nusrat, wrote:
> Hi I have a situation to manage multiple models with FK for a single
> CreateView.
>
> Can someone give me a solution for the below.
>
> class Client(models.Model):
> name = models.CharField(max_length=100)
>
Don't use git inside the container, this is not the standard way of doing
things.
Docker has its own guide for using django with compose. This works fine for
a single server setup: https://docs.docker.com/compose/django/
- Nick
On Thu, Oct 10, 2019 at 5:09 PM vineet daniel
wrote:
> Use git to
ForeignKey.
On Thu, Oct 10, 2019 at 9:18 AM Mohammad yunus wrote:
> What is mean FK Shaziya
>
> On Thu, 10 Oct 2019, 9:19 pm Shazia Nusrat, wrote:
>
>> Hi I have a situation to manage multiple models with FK for a single
>> CreateView.
>>
>> Can someone give me a solution for the below.
>>
>> c
generally, i want to use the 2 models(shops,appointments) in one list view
in order to find available dates for booking. I dont know the way to do
this
On Thursday, October 10, 2019 at 5:36:51 PM UTC+3, lemme smash wrote:
>
> suggestion:
> it's better to post code snippets as text (i.e. use `cod
Literally the first search result on google:
https://www.google.com/search?q=psycopg2+ld%3A+library+not+found+for+lssl
Google and Stack Overflow is my workflow.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
Are you perhaps looking for
https://docs.djangoproject.com/en/2.2/ref/settings/#data-upload-max-memory-size
?
On Thursday, 10 October 2019 07:04:31 UTC+2, ajitkumar wrote:
>
> Hi,
>
> can anyone help me how to increase media upload size in django rest api,
>
>
>
>
> Thanks in advance.
>
>
>
Just import and use it..
On Thu, 10 Oct, 2019, 10:51 PM Shazia Nusrat, wrote:
> ForeignKey.
>
> On Thu, Oct 10, 2019 at 9:18 AM Mohammad yunus wrote:
>
>> What is mean FK Shaziya
>>
>> On Thu, 10 Oct 2019, 9:19 pm Shazia Nusrat,
>> wrote:
>>
>>> Hi I have a situation to manage multiple models
Again I need to use multiple models in one CreateView. I couldn't make it
work by just importing and using it.
@Suraj can you share an example.
Regards,
Shazia
On Thu, Oct 10, 2019 at 3:27 PM Suraj Thapa FC
wrote:
> Just import and use it..
>
> On Thu, 10 Oct, 2019, 10:51 PM Shazia Nusrat,
>
What do you want to do... With it...
Use Create it for creating object..
def view() :
model.objects.create()
model2.objects.create()
On Fri, 11 Oct, 2019, 4:33 AM Shazia Nusrat, wrote:
> Again I need to use multiple models in one CreateView. I couldn't make it
> work by just importing and usin
I am not trying to use Function based Views. I need to use Generic views.
Thanks.
Shazia
On Thursday, October 10, 2019 at 4:13:56 PM UTC-7, Suraj Thapa FC wrote:
>
> What do you want to do... With it...
> Use Create it for creating object..
>
>
> def view() :
> model.objects.create()
> model2.obj
It's the same... Thing
You should read the django official docs
Class myview()
def post()
model.objects.create
model2.objects.create
On Fri, 11 Oct, 2019, 5:00 AM Shazia Nusrat, wrote:
> I am not trying to use Function based Views. I need to use Generic views.
> Than
Hi All,
I just added style sheet in my application but its not working , Please try
to help me.
Setting.py
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development set
On 11/10/2019 2:18 pm, yasar arafath Kajamydeen wrote:
Hi All,
I just added style sheet in my application but its not working ,
Please try to help me.
I think you need to put your stylesheet in a separate directory reserved
for static files such as css, js etc and perhaps call it polls/stati
In your settings.py
At STATICFILES_DIRS you had write basedir, style. Css instead style.css
write "static"
On Fri, 11 Oct, 2019, 8:49 AM yasar arafath Kajamydeen,
wrote:
> Hi All,
>
> I just added style sheet in my application but its not working , Please
> try to help me.
>
>
> Setting.py
>
>
>
Hi Mike,
I created separate folder for static, Please find the att (polls.xlsx).
Regards,
Yasar Arafath K
On Friday, October 11, 2019 at 11:18:42 AM UTC+8, yasar arafath Kajamydeen
wrote:
>
> Hi All,
>
> I just added style sheet in my application but its not working , Please
> try to help me
Hi Suraj,
As for your suggestion i tried like this but its not working , Please do
needful.
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
]
Regards,
Yasar Arafath K
On Friday, October 11, 2019 at 11:18:42 AM UTC+8, yasar arafath Kajamydeen
wro
Send the directory structure of the project
On Fri, 11 Oct, 2019, 9:29 AM yasar arafath Kajamydeen,
wrote:
> Hi Suraj,
>
> As for your suggestion i tried like this but its not working , Please do
> needful.
>
>
>
> STATIC_URL = '/static/'
> STATICFILES_DIRS = [
> os.path.join(BASE_DIR, 'sta
@Suraj - Please find the polls.xlsx attachment in conversation .
On Friday, October 11, 2019 at 12:10:04 PM UTC+8, Suraj Thapa FC wrote:
>
> Send the directory structure of the project
>
> On Fri, 11 Oct, 2019, 9:29 AM yasar arafath Kajamydeen, > wrote:
>
>> Hi Suraj,
>>
>> As for your sug
Hi.
You could try to diagnose issue with findstatic management command:
./manage.py findstatic -v 3 polls/style.css
You should get a list of paths Django tried to look for your static file
(stylesheet) and of course was it found.
pe 11. lokak. 2019 klo 6.19 yasar arafath Kajamydeen
kirjoitti:
*@ Jani - Executed the given cmd, Please find the output and please guide
me further ..*
(mypython) C:\Users\kajamydeenya\telusko>python manage.py findstatic -v 3
polls/style.css
Found 'polls/style.css' here:
C:\Users\kajamydeenya\telusko\polls\static\polls\style.css
Looking in the following
i have a function that retrieve data from sql server database where i am
using **fetchall()** then for loop
the retrieved data are all printed on the **cmd console** but when i tried
to display these result on the template it **only display the last record**.
views.py
def search(reque
38 matches
Mail list logo