one where you have the backslash.)
>
> On Wed, Oct 31, 2012 at 3:28 AM, Markus Christen
>
> > wrote:
>
>> Good Morning
>> I have downloaded files, that can helps by my mssql-odbc connection. This
>> is my downloaded file:
>>
>> http://code.google.com/p
Good Morning
I have downloaded files, that can helps by my mssql-odbc connection. This
is my downloaded file:
http://code.google.com/p/django-pyodbc/source/browse/trunk/sql_server/pyodbc/compiler.py?r=190
On lines 188 and 273, i become the message "'return' outside of function".
It's not a spac
>
> What i know now:
>
>
--
>
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.mysql',
> 'NAME': 'baan5c',
> 'USER': '***',
> 'PASSWORD': '*',
> 'HOST': 'MAURITIUS',
> 'PORT': '1433',
>
EDIT:
I have a second to implements. Its a Lotus Notes DB, and for the userauth
there is a file on my computer.
I tryed it with the odbc of IBM:
---
import pyodbc
conn = pyodbc.connect('DRIVER={Lotus Notes SQL Driver
(*.nsf)};SERVER=Wind/Sefa
Good Morning
First i made an odbc connect liek this:
-
import pyodbc
cnxn = pyodbc.connect('DRIVER={SQL
Server};SERVER=MAURITIUS;DATABASE=baan5c;UID=***;PWD=*')
cursor = cnxn.cursor()
cursor.execute("SELECT x.t_name, y.t_mail FROM tttaa
>
> How can i create 2 views on one page?
>> def sql(request): and def portal(request):
>>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/xneUlf_fSGA
Hmm ok, i can use
return render_to_response("sql.html", { 'row': row })
and when i call now http://127.0.0.1:8000/sql/, i can see the correct data.
But i will call http://127.0.0.1:8000/portal/ and try to implements the sql
code in this page.
I have by base.html in addition now " {% incl
Ok, when i use now http://127.0.0.1:8000/sql/, the output is
Kundendaten [('bla Hansruedi (THA) ', 'hansruedi@blubb.ch ')].
i have in base.html now " {% include "sql.html" %}" in addition.
when i use now http://127.0.0.1:8000/portal/, my output is just:
Kundendaten .
how can i fix this pro
>
> Thank you for this page. I take my time today, to learn on it. :)
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/a9kvWj-zSjAJ.
To post to this group
>
> Thank you for your answer. i have chapter 1-4 of
> http://www.djangobook.com/en/2.0/index.html done, but not much time to go
> throught the hole book atm. i will try it with your code. :)
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
>
> I forgot, sql is now hardcodet and i have to change it. on first page i
> have to give the filter and the username...
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/m
Hi all
i have there a little problem and my knowhow with django is not existent. ^^
What i have...
--- urls.py -
from django.conf.urls import patterns, include, url
from klasse.views import portal, sql
urlpatterns = patterns('',
(r'^portal/$', portal),
(r'^sql/$', sql)
Hi all
I have to make a WebPage with Django. It must be possible to connect from
the page to the mssql database. i have an odbc program know atm, and this
works...
-
import pyodbc
cnxn = pyodbc.connect('DRIVER={SQL Server};
SERVER=MAURITIUS;DATABASE=baan5c;UID=portal;PWD=P0rtalReader')
cur
I have to create a web-service and i hope it works with Django. My plan is
connecting to a Lotus Notes database. Can this work? If yes, how? Else no,
how can i do this, witch programm do i need? I will programm it based on a
Python language. I am a new programmer and used Python just for one we
14 matches
Mail list logo