I am creating reports in my MySQL backend. I have created a database view
that only displays the fields I need: id, Position, Fault_Count. Postion
and Fault_Count are modified field names from the Select statement. Django
isn't liking this too much and keeps throwing an Operational Error (1054).
I think this is what you're looking for then...
in your httpd.conf or httpd-vhosts.conf or wherever you set up django
in apache:
SetHandler None
On Aug 21, 3:12 pm, Bins wrote:
> mod_python.
>
> On Aug 21, 6:37 pm, Heather wrote:
>
>
>
> > So are you
So are you using mod_wsgi or mod_python?
On Aug 21, 9:24 am, Bins wrote:
> Thanks Matthias, Carlos & Heather for your help.
>
> I tried direct_to_template in url.py in django as suggested by Carlos,
> but didn't work.
>
> What Matthias suggested, serving static files
I think you are saying you want to have a page on your site that
doesn't go through Django - is that right?
I'm assuming you're using Apache and so you have to be using
mod_python or mod_wsgi - is this what you're doing?
Your answer would depend on which module you are using.
If you are using mod
If the file is there, did you tell your settings file where to look
for templates?
On Oct 23, 4:00 am, gryzzly <[EMAIL PROTECTED]> wrote:
> It is self-expalnatory, but the problem is that I do have a template
> file. And it is there.
>
> On Oct 23, 12:36 am, "Karen Tracey" <[EMAIL PROTECTED]> wro
> Authentication is actually handled by a middleware, you know ?-)
Heh, well, this is true so I guess it's not such a big deal, then.
> Ok, I already expressed MVHO on this, which is that having a clean way
> to apply a same decorator to a whole set of urls at once would be a
> good thing. Now a
That was a really good post - thanks :) I know you don't *have* to
use anything from the app you include or even *have* to include
everything in an app you write. But I think that I just have this
idea in my head that I can't let go of that each part should be able
to be inherited from - not jus
Have you tried Macports? If not, you should check it out.
On Oct 20, 2:11 pm, Francis <[EMAIL PROTECTED]> wrote:
> I had trouble installing PIL on my Mac with 10.5 Leopard.
>
> I always got an : "Upload a valid image. The file you uploaded was
> either not an image
> or a corrupted image."
>
> I
I completely agree. Even the middleware solution doesn't seem quite
right as it will check each page/request. I've been thinking about
this a lot and I wonder if maybe the only part that should be reusable
is the models? I don't know. But since there is no way (that I know
of) to use inheritan
ich is more than just a blog, but I want
the blog to require you to be authenticated. Is there truly no nice
way to tell django require the user to be logged in for all views
associated w/ those urls?
On Oct 18, 1:28 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 1
What do you mean by "set up the urls so you'll have it"?
On Oct 18, 12:12 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 18, 2008 at 10:22 AM, Heather <[EMAIL PROTECTED]> wrote:
> > Well, after trying to work this out a bit more,
Well, after trying to work this out a bit more, it looks like a nice
solution is to make a middleware class and use the process_views() but
I'm not quite at the answer yet.
On Oct 17, 11:15 am, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> On 17 oct, 16:18, Heather <[EMAIL
appreciate your response :)
On Oct 17, 11:15 am, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> On 17 oct, 16:18, Heather <[EMAIL PROTECTED]> wrote:
>
> > I have a couple of projects that use the same application
> > (particularly, photologue). In one project, I want
I have a couple of projects that use the same application
(particularly, photologue). In one project, I want the views of the
imported application to require users be signed in. All the views in
this imported application are generic. So, is it possible to use
login_required w/o having to go int
at of MySQL, PHP etc in:
>
> http://code.google.com/p/modwsgi/wiki/ApplicationIssues
>
> Even if using mod_python useful to read the mod_wsgi documentation on
> these issues for ideas as to what problems can arise in mod_python.
>
> Graham
>
> On Jan 21, 12:43 am, Heather
at of MySQL, PHP etc in:
>
> http://code.google.com/p/modwsgi/wiki/ApplicationIssues
>
> Even if using mod_python useful to read the mod_wsgi documentation on
> these issues for ideas as to what problems can arise in mod_python.
>
> Graham
>
> On Jan 21, 12:43 am, Heather
page worked. In case anyone else is
seeing seg faults, this is addressed in the documentation here:
http://www.djangoproject.com/documentation/modpython/#if-you-get-a-segmentation-fault
On Jan 19, 10:39 am, Heather <[EMAIL PROTECTED]> wrote:
> Has anyone had this problem and fixed it? This
ble to update mysqldb at this moment so I have to
use mysql_old in the settings file but not on my development machine.
Thanks
Heather
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
You have to do some editing to make it work for 64 bit. If you google
mod_python leopard 64 bit you'll find some pages. Here is one...
http://blog.wired.com/monkeybites/2007/11/tips-and-tricks.html
I have a macbook pro and am running django w/ mod_python and the built
in apache2 and mysql.
On
19 matches
Mail list logo