It is a python script `tshi3.py` :
在此輸入代碼...
import csv
def li2ho2():
print(csv)
li2ho2()
I copied this code and pasted it in `python manage.py shell`. It works.
But I ran `python manage.py shell < tshi3.py`. Got `NameError: name 'csv'
is not defined.`
Why?
Enviromen
why you need rewrite query in ORM
you can use "raw query" in django
https://docs.djangoproject.com/en/1.11/topics/db/sql/
2017-08-25 4:25 GMT+08:00 Николай Инкогнито :
> SELECT * FROM T WHERE REPLACE(T.field, '-', ' ') = REPLACE(VALUE,'-', ' ')
>
> --
> You received this message because you are
I recommend to use some "email cloud service " such as "mailgun" or "
sendcloude.com "
2017-08-25 4:24 GMT+08:00 ADEWALE ADISA :
> thanks Guerrero,
> i too taught so, i have sent mail to my registrar but they have not reply.
> before when am hosting php site, i use to host the site with the regi
SELECT * FROM T WHERE REPLACE(T.field, '-', ' ') = REPLACE(VALUE,'-', ' ')
--
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...@googlegroup
thanks Guerrero,
i too taught so, i have sent mail to my registrar but they have not reply.
before when am hosting php site, i use to host the site with the registrar,
so the will give me link to cpanel where i can create email account.
but now this registrar the not give me link to cpanel, that wh
Good afternoon people.
.
.
I have two models: Person and Address
Address has a Person fk
I would like to register the addresses of people without the need to
manually point to which person's given address will belong.
.
.
I was directed to use inlines but I hate the admin of django because if I
u
Thanks Andrew.
On Wednesday, 23 August 2017 21:46:50 UTC+5:30, Andrew Godwin wrote:
>
> My impression was that RTC signalling was not specified or defined so apps
> could do it how they wish - so you could use normal AJAX, or WebSockets,
> etc. Channels doesn't have RTC support as, as far as I
hi,
For sure not from pythonanywhere.com
Your domain registrar may have some free emails accounts (like godaddy
which allows you to create email accounts for your domain purchased with
them).
Otherwise, you will have to buy the service (like in gmail for business or
in fastmail.com)
--
Gerardo
Good day friends;
Please help me to clarify this issue:
I just purchase a domain name , let say abc.com.
I want to host my django application on pythonanywhere.com using my domain
name abc.com.
Now i want to create up to three email accout for my clients using my
domain name e.g 1...@abc.com, 4...
I cannot reproduce this behavior with Django 1.11 and PostgreSQL 9.6. What
database are you using?
Does your Bar model maybe use non-standard Manager? Can you actually fetch
to objects after the transaction has finished?
On Wednesday, August 16, 2017 at 8:29:09 PM UTC+2, Александр Христюхин
w
On 16 August 2017 at 19:27, roboslone - wrote:
> Hi,
>
> I have some function (fetcher) that runs in transaction (it has to) and it
> creates a bunch if new objects that are written to database after transaction
> is commited. Those objects are added to a many-to-many relation. And on that
> re
On Aug 15, 2017 8:34 AM, wrote:
Hi
Does anyone know if it's possible to easily use an Ingres database with
Django?
Many thanks
Jim
I don't know/doubt if the Postgres bindings in Python will handle Ingres,
nor am I aware of any 3rd party app that provides support. It isn't
specifically suppor
On Aug 20, 2017 4:47 PM, "ah bor" wrote:
Hello friends,
I will appreciate it if you can help me resolve the following issue.
I am trying to use the Django built-in views for resetting passwords but
get an error in the very end. I have done the following steps:
1. in URLs.py:
url(r'^password
13 matches
Mail list logo