I have a command-line script that uses Django's ORM. For reasons
beyond my comprehension, it has a tendency to get "stuck" in
transactions. When I check the postgre server status, it simply shows
a connection that is "idle in transaction" and never completes. The
script ends up hitting this wall s
This may be a bit of an odd question, but I'm wondering if anyone has
found a way to make template variables in quotes properly colored.
For instance, if you have something like , that template variable will not be properly highlighted because
it's inside a string. Anyone know how to fix this? O
n the best, but it works:
1) Go in and edit the HTML Language in the Bundle Editor
2) Find
string-double-quoted = {
3) Under the patterns entry, Add
{ include = 'text.html.django'; },
Poof! Variables are properly highlighted in HTML strings. Asked and
answered ;)
On Jun 17
Since database entries for "session_key" do not correspond to the
cookie sessionid set at login or whenever, how does Django match a
given sessionid cookie to a session? Basically I am trying to
integrate (to a point) a non-django, non-python app into a django app.
All I would be doing (I think)
Okay, this is a pretty simple question with probably a "duh" answer,
but I read the docs page on sessions and it doesn't specify, so here
goes:
Say I have some php (or whatever) page that sets a cookie named
"stuff", using django, could I just use request.session['stuff'] and
get the value, or do
Jeremy Dunck wrote:
> On 7/10/06, Tom Davis <[EMAIL PROTECTED]> wrote:
> > Say I have some php (or whatever) page that sets a cookie named
> > "stuff", using django, could I just use request.session['stuff'] and
> > get the value, or does Django use
I am having a problem getting Django to work properly on my server. I
have Apache setup with mod_python using Python 2.4. I put in the
Location stuff in my Apache config, and when I go to the directory I
get this:
---
Mod_python error: "PythonHandl
Although old, I'd like to point out that at least in my case this
wasn't a Dapper + PHP5 issue, it was a Deb + PHP5 issue, so the problem
seems to lie with the PHP5/Django pairing.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
Okay, I am creating a site in Django who's forum system runs on
vBulletin. Is there anyway to hook my models into the vB tables so
that I can use them basically in tandem? I don't really need vB to do
anything with my Django tables, but there are a few instances where I
really need my Django app
9 matches
Mail list logo