I tried using the guide here:
http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/?from=olddocs
to set up Django using FastCGI.
1. It kept just hanging with a never ending loading cursor whenever I
tried going to the fcgi page. I eventually discovered, through immense
trial and error,
On Jun 24, 11:15 am, "Daniele Procida"
wrote:
> I have a template in which I would like to do the following:
>
> {% for item in loop %}
> {% if [previous item].condition %}
> item.name
> {% endif %}
> {% endfor %}
>
> In other words, I want to do something with an item in the lo
On Jun 24, 11:41 am, James Gregory wrote:
> On Jun 24, 11:15 am, "Daniele Procida"
> wrote:
>
>
>
> > I have a template in which I would like to do the following:
>
> > {% for item in loop %}
> > {% if [previous item].condition %}
> >
On Jun 24, 12:11 pm, Masklinn wrote:
> On 24 Jun 2009, at 12:47 , James Gregory wrote:
>
>
>
> > On Jun 24, 11:41 am, James Gregory wrote:
> >> On Jun 24, 11:15 am, "Daniele Procida"
> >> wrote:
>
> >>> I have a template in which
On Jun 29, 10:05 am, Joru wrote:
> I still can't solve this
> Anyone had answer on this?
>
> On Jun 26, 7:39 pm, Joru wrote:
>
> > Hi,
>
> > I experience some weirdness regarding usingregexwith django
> > I have following function in utils.py
>
> > from django.utils.text import wrap
> > import r
rules r'[wr:]$' then should add + in
> beginning of line
>
> On Jun 29, 4:31 pm, James Gregory wrote:
>
> > On Jun 29, 10:05 am, Joru wrote:
>
> > > I still can't solve this
> > > Anyone had answer on this?
>
> > > On Jun 26, 7:3
On Jun 29, 10:59 am, Daniel Guryca wrote:
> Hi,
>
> I'm very new to django and python .. coming from java world.
>
> I really like django structure (apps, ...) but I do not understand how
> one can create some base class where all general methods same for all
> views could be put.
> You know I
On Jun 29, 11:19 am, Joru wrote:
> ah, I just want to match in the end of line only
> so change the rule "wr$" would get what I want?
>
> > Square brackets are for character groups, not literal strings. "wr:"
> > is just a string so it should be "wr:", not "[wr:]". Also, you want to
> > match t
On Jun 29, 1:05 pm, Joru wrote:
> I'm sorry for my typo
> the string var suppose to be like this
> str = "wr:\n one bunny \n two bunny \n wr:\n three bunny \n
> So every match string "wr:" should had "+" in front of it line
> the one that confuse me is that my function work in django/python
> s
On Jun 29, 2:57 pm, Joru wrote:
> Still doesn't work even I remove wrap function :(
So it seems your regex is incorrect, the problem is not related to
Django. If you paste your code here I can have a look, but I still
think you'd be better off reading a bit more about regular expressions
yours
I am creating a web app with Django. I use a local MySQL database to
store users etc, but also connect to a remote Oracle database to pull
in some information to display.
Due to Django's lack of multiple database support I have written my
own very smalI Oracle wrapper, using cx_Oracle. In an effo
> Connections aren't thread safe - you have to ensure every thread gets
> its own connection. You can create a new connection every request or
> use a thread-local to cache connections.
>
Ok, thanks for the explanation/confirmation
James
--~--~-~--~~~---~--~~
You
On Jun 17, 7:39 am, "C. Feldmann"
wrote:
> Good morning,
>
> I was wondering how to implement the following without having to
> hardcode each url.
> I have different apps like i.e. books, authors, magazines, etc.
> Normally I would call upon default views by using something
> like:http://local
The documentation for this possibility is here:
http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode
James
On Jun 19, 3:16 pm, murd3r1ch wrote:
> 1. When I edit my files (views.py, urls.py etc) runserver used to
> restart to reflect changes but apache/mod_wsgi does not
--~--~-~--
The regex class "\w" doesn't include spaces, so maybe you need
(r'^brewery/([\w ]+). Then again spaces in urls are represented as
"%20", so maybe you need (r'^brewery/([\w%]+), can't be bothered to
test right now. Or maybe I'm totally wrong.
James
On Jun 7, 3:05 am, joelklabo wrote:
> bumping th
or, if there's nothing that comes beneath brewery, just (r'^brewery/(.
+)
On Jun 7, 3:17 am, James Gregory wrote:
> The regex class "\w" doesn't include spaces, so maybe you need
> (r'^brewery/([\w ]+). Then again spaces in urls are represented as
> &q
Assuming you are subscribed via google groups, then go to
http://groups.google.com/group/django-users and then click on "edit my
membership" on the right hand side of the page.
James
On Jun 7, 3:11 am, Jim Norman wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> How do I unsubscribe f
17 matches
Mail list logo