Re: I can't print a queryset value.

2018-01-03 Thread 1351552...@qq.com
This will work: >>> for id in Review.objects.values_list('id',flat=True): ... print('ID:%d' % id) ... ID:1 ID:2 ID:3 ID:4 ID:5 ID:6 and i don't know what you say in ur problem2 wblueboat From: karlnaflnest Date: 2018-01-03 15:20 To: Django users Subject: I can't print a queryset value. I am

Re: Re: how to design custom forms in django with bootstrap

2016-06-21 Thread 1351552...@qq.com
u need read how to use css file by django :https://docs.djangoproject.com/en/1.9/intro/tutorial06/ before this u need download bootstrap in ur location disk,and add in the of ur html. ww From: Ikram Ulhaq Date: 2016-06-21 05:02 To: Django users Subject: Re: how to design custom forms in dj

initial costom field in modelform

2016-06-30 Thread 1351552...@qq.com
27;'})) class Meta: model=SalesOrder fields = ['customer','customer_name',] thanks 1351552...@qq.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop recei

deploy django with nginx

2016-07-15 Thread 1351552...@qq.com
hi everyone: I am tring to deploy my site by nginx and uwagi in my project yaohang,i have these files: #yaohang_uwsgi.ini [uwsgi] socket = :8001 chmod-socket= 664 master = true module = yaohang_uwsgi processes = 8 listen = 120 enable-threads = true daemonize = /home/wangwei/yaohang/yao

Re: Django soap client

2019-04-15 Thread 1351552...@qq.com
django is a framework, it is worked in different way with php, read the lesson in doc is the best way to undstand it. wblueboat From: oka M Date: 2019-04-12 13:45 To: Django users Subject: Django soap client Hai All, Im php programer and i want to migration from php to pyhton in specific i w

how to use admin view as part of app

2017-09-06 Thread 1351552...@qq.com
hello I want use a admin edit view in my app,when edit done ,it will back to admin list view, how can it back to my app.listview. wblueboat -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re:

2019-12-03 Thread 1351552...@qq.com
r u mean u want to display the response? wblueboat From: vaneet bawa Date: 2019-11-27 16:35 To: django-users Subject: can someone please tell me that how I can display the message on the url from which I am getting the response -- You received this message because you are subscribed to the

Re: Django- Display PDf document in an Iframe or Pdf VIewer

2019-12-03 Thread 1351552...@qq.com
hi: 1、the pdf file is static file,u can write the url in html to show it. 2、if u want to show it in half of web page,u can use with fixed width and height besides iframe. wblueboat From: 'Lucas Gärtner' via Django users Date: 2019-11-25 22:29 To: Django users Subject: Django- Display PDf doc