Wow
Seong Gyu Choi 于2020年7月9日周四 下午9:48写道:
> Django Web Page worked properly well with POST method action in Chrome,
> Firefox. But No-refere CSRF error occurs only in Edge MS browser.
>
> I found someone with an error similar to the one below, and I used the
> method I told you here but couldn't
send me your models.py and views.py
RANGA BHARATH JINKA 于2020年7月3日 周五15:13写道:
> Send me views.py
>
> On Fri, 3 Jul 2020, 12:36 pm Mohsen Pahlevanzadeh, <
> m.pahlevanza...@gmail.com> wrote:
>
>> I don't have model.py for auth_user.
>>
>> On Friday, July 3, 2020 at 11:10:17 AM UTC+4:30, RANGA BHA
"{% url 'blog:index' %}"
>>
>> you might need to do the same with other urls
>>
>>
>> On Thu, Jul 2, 2020 at 9:31 AM Hella Nick wrote:
>>
>>> class Article(models.Model):
>>>> # time = datetime.datetime.now()
>>&
elf):
> self.number += 1
> self.save(update_fields=['number'])
>
> def get_pre(self):
> return Article.objects.filter(id__lt=self.id).order_by('-id').first()
>
> def get_next(self):
> return Article.objects.fil
Dear Mir oba stephen:
I deleted "volume" function,But The result is the same.
Hella Nick 于2020年7月2日周四 上午10:51写道:
> Dear Sencer:
>
>
>> index
>
>
>
>
>-
>
> There is no problem with writing this wayI don't understand wh
gt;> The Error is straight forward, you are using an operand "+" for two two
>> data types that it can't be used on. This might be from your "volume"
>> function.
>>
>> On Wed, Jul 1, 2020 at 9:30 AM Hella Nick wrote:
>>
>>> Can so
Can someone help me??
My project catalogue:
My setttings:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'blog/templates/')]
,
'APP_DIRS': True,
'OPTIONS': {
'context_process
请检查您的路由地址,问题就出现在那里。
meera gangani 于2020年6月3日 周三15:19写道:
> Hello Django-users
>
> href is not working
> here is my views.py file and my urls.py file
>
> Please Help me out!!
>
> Thank you in advance
> -Meera
>
> --
> You received this message because you are subscribed to the Google Groups
> "Djan
Do you use Django or Django Rest Framework?
Ali Ahammad 于2020年6月2日周二 上午7:51写道:
> in django, i am trying to list some queries of several objects like user
> lists, categoies and Post list. the homepage will be contained couple of
> blocks or boxes. each box will have different query list like Pos
-
Niggers are clearly not suited for the job.
Ifeanyi Chielo 于2020年6月3日周三 上午7:43写道:
> Dear all,
>
> Hello, please can someone help me with the code to subtract 'b' from 'a'
> as shown below
>
>
> a = Soapprod.objects.aggregate(Sum('Serial_White_Guava'))
>
>
>
> b = Soapsales.objects.agg
你是要部署在互联网上吗?
DumbaClassics 于2020年6月3日周三 上午8:56写道:
> Hello Family
>
> I have been following a set up documentation for django-tenants. I did all
> the set-up to even create a public domain and two tenant domains. For
> allowed hosts I put ["*"] , though not safe as per clinical research data
> it
你应该是阿三吧?
Akshat Zala 于2020年5月20日周三 上午11:32写道:
> You can install the following package and study the documentation:
>
> 1. https://pypi.org/project/django-wepay/
>
> On Tuesday, 19 May 2020 22:56:24 UTC+5:30, Shyam Acharjya wrote:
>>
>> greetings,
>>
>> has anyone here have any prior experience i
此处有语法错误: path('display_data/', views.display_data, name=
'display_data'),
正确的写法为:path(r'^display_data//$', views.display_data, name=
'display_data/'),
请记住,一定要加 /
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and
如果您确定数据库中有数据的话,那么就是您该视图的url设计错误。Django数据库查询的get方法查询不到数据会报错。希望可以帮助到您。
ratnadeep ray 于2020年5月20日周三 下午4:16写道:
> I am trying to fetch a few rows from the DB using the following code in my
> views.py:
>
> from django.http import HttpResponsefrom django.shortcuts import renderfrom
> fusioncharts.mode
May 2020, 6:18 am Ahmed Khairy,
> wrote:
>
>> Do you mean that this line should be changed?
>>
>> > 'post_id' class= "btn btn-danger btn-sm" value="{{post.id}}"
>> > No ! Don't Print it
>>
你是阿三吗?
Akshat Zala 于2020年5月20日周三 上午11:27写道:
> I agree with Vishesh, You require api key which needs to be in settings.py
> file
>
> On Tuesday, 19 May 2020 20:43:17 UTC+5:30, Vishesh Mangla wrote:
>>
>> Your question is not clear to me. What exactly do you want ?You do not
>> require django to g
Django中的表单提交按钮不要使用submit属性,否则会触发get请求,或者发生错误。
Hella Nick 于2020年5月20日周三 上午11:09写道:
> button标签中的type属性设置为button,
>
> Ahmed Khairy 于2020年5月20日周三 上午1:54写道:
>
>> I am trying to use Ajax to submit a like button, I believe everything is
>> in
button标签中的type属性设置为button,
Ahmed Khairy 于2020年5月20日周三 上午1:54写道:
> I am trying to use Ajax to submit a like button, I believe everything is
> in order but I keep getting django.urls.exceptions.NoReverseMatch: Reverse
> for 'like_post' with arguments '('',)' not found. 1 pattern(s) tried:
> ['scor
你帮我获得加拿大的工作移民签证,我就可以帮你解决问题。
在 2020年5月17日星期日 UTC+8上午4:51:45,chaitan写道:
>
> Hi, I am facing ModuleNotFoundError in my Django application. It got
> configured with multiple settings files for production, Development &
> Testing.
> When I Try to run Python manage.py runserver --settings= settings_d
Mysql8.0以上的版本更改了加密规则,这可能需要你多研究一下遇到的问题。我记得需要修改Django框架中的一些源码。
在 2020年5月20日星期三 UTC+8上午9:37:33,Edward Rose写道:
>
> Hello - Does Django have any support for the web application itself being
> able to connect to MySQL using Kerberos Authentication / GSSAPI rather than
> a hard coded database user nam
我的uwsig日志显示:
clock source: unix
detected number of CPU cores: 2
current working directory: /project/work/teacher
writing pidfile to /project/work/teacher/uwsgi.pid
detected binary path: /project/env/online/bin/uwsgi
!!! no internal routing support, rebuild with p
me to。do you help me?
Perceval Maturure 于2020年4月22日 周三07:31写道:
> Hi Django Users
>
> I am developing a Django document management system which will cater for
> pdf file uploads. What is the best resource to use (tutorial) as I want to
> have the pdfs accessible from admin. Can I do this with Djan
你的服务器是安装的python3.8.2的版本吗?
Fateh Budwal 于2020年3月26日周四 上午6:03写道:
> Hello Everyone
> I have complied python 3.8.2 with django 2.2. it run locally fine but
> when i try to deploy it with Apache and mod_wsgi 4.7.1 and getting the
> below error. Any suggestions ?
>
> Current thread 0x7f5aa48af880
Me to,My error was is
Traceback (most recent call last):
File
"D:\Python3\lib\site-packages\django\contrib\sessions\backends\base.py",
line 190, in _get_session
return self._session_cache
AttributeError: 'SessionStore' object has no attribute '_session_cache'
During handling of the above e
24 matches
Mail list logo