I'm just starting out with django and need some help with how to
perform custom queries. The query I want to do is basically this:
SELECT num_volunteers, num_boxes, (num_boxes * 216) as meals,
(num_boxes/num_volunteers) as box_per_person FROM shifts WHERE site =
%s AND date BETWEEN %s and %s
On Fri, 2006-09-15 at 09:29 -0700, Enrico wrote:
> Hi all,
>
> I've used the following field in a model:
>
> name = models.CharField(maxlength=10)
>
> When I type "abcdefghij", it goes ok.
>
> When I type accents, (eg.: "áéíóúáéíóú"), I get an error.
>
> The field in the admin accepts the 10
Malcolm Tredinnick wrote:
> On Mon, 2006-09-18 at 00:22 +, coulix wrote:
> > puting DEFAULT_CHARSET to utf-8 didnt solve the Ao? != Aôut
> > Not that only Aôut orm date generation is liek this all other
> > accesnts in the template are fine.
>
> I haven't been following this thread in all
On 9/15/06, fel <[EMAIL PROTECTED]> wrote:
> in the session, or in a database?
> if I close the browser, and open it asgain, is the information about my
> latest actions saved?
It's saved in the database -- and, yes, the information is saved
across browser sessions. You can interact with the
On 9/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I want to come to the US ( from the Caribbean) to attend this course,
> but do not know Chicago and would need a place to stay that is safe,
> reasonably priced and fairly close to the course venue. I would be
> grateful to any one who
I want to come to the US ( from the Caribbean) to attend this course,
but do not know Chicago and would need a place to stay that is safe,
reasonably priced and fairly close to the course venue. I would be
grateful to any one who can recommend such a lodging.
Also, in general I would like to
Hello, I'm trying to follow the installation instructions for django on
a Debian sarge apache 1.3/python2.3 installation..
The problem is that in both cases I use the stand alone fcgi server or
the web-server spawned processes I end with this error:
Forbidden
"You don't have permission to
Hello,
since a few days I get a strange error when there is a request
to a page that does not exist or has any kind of bugs.
Instead of the normal django error
template I get the following traceback:
--->
traceback (most recent call last):
File
Hi!
I've set up django on dreamhost as seen here
(http://www2.jeffcroft.com/2006/may/11/django-dreamhost/). Everything
works ok with one project, but when I create another project and add
another sub-domain for it following all the steps as shown on that site
my browser doesn't load that
Hi all,
i've got an app named liger with a settings.py file which in
INSTALLED_APPS has:
'liger.profiles'... along with other apps
In liger/profiles/models.py i define:
class Profile(models.Model)...
And this is the output of manage.py is the following:
C:\www\djangoliger\liger>python
in the session, or in a database?
if I close the browser, and open it asgain, is the information about my
latest actions saved?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
On Sun, 2006-09-17 at 17:39 -0700, mauiblu wrote:
> I get an error in Firefox which says "your browser isn't configured to
> accept cookies"
>
> Any ideas how I can move past this?
> I swa a message suggesting setting setting_domain_cookies in th setting
> file..presumably settings.py..but it
On Mon, 2006-09-18 at 00:22 +, coulix wrote:
> puting DEFAULT_CHARSET to utf-8 didnt solve the Ao? != Aôut
> Not that only Aôut orm date generation is liek this all other
> accesnts in the template are fine.
I haven't been following this thread in all its gory details, but seeing
this
I get an error in Firefox which says "your browser isn't configured to
accept cookies"
Any ideas how I can move past this?
I swa a message suggesting setting setting_domain_cookies in th setting
file..presumably settings.py..but it had no effect.
I'm stuck and would very much appreciate help.
puting DEFAULT_CHARSET to utf-8 didnt solve the Ao? != Aôut
Not that only Aôut orm date generation is liek this all other
accesnts in the template are fine.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Jorge Gajon wrote:
> On 9/16/06, Phil <[EMAIL PROTECTED]> wrote:
> > In the base.html template I added in the section a {% block
> > extrahead %}{% endblock %}.
> > And in the index.html template I added {% block extrahead %} > http-equiv="content-type" content="application/xhtml+xml;
> >
On 9/16/06, Phil <[EMAIL PROTECTED]> wrote:
> In the base.html template I added in the section a {% block
> extrahead %}{% endblock %}.
> And in the index.html template I added {% block extrahead %} http-equiv="content-type" content="application/xhtml+xml;
> charset=UTF-8" /> {% endblock %}
It
> The signals are only within the same process, though. They don't wake up
> other processes (they are not UNIX signals). Fortunately, the process
> started by your cronjob can just import any bits of Django it might need
> (e.g. for accessing models) and do the work directly.
I currently have
On 9/17/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> Is your input guaranteed to be well-formed XHTML? If so, ElementTree
> (http://effbot.org/zone/element-index.htm ) will be faster, particularly
> cElementTree. It always feels very Pythonic when you program with it, so
> it gets
Don Arbow wrote:
> Maybe this thread would be better off moved to some other place
> (perhaps a support board using said software). It is no longer about
> Django, but about supporting a third-party software package.
>
> Don
It will be online after the weekend :)
Maybe this thread would be better off moved to some other place
(perhaps a support board using said software). It is no longer about
Django, but about supporting a third-party software package.
Don
--~--~-~--~~~---~--~~
You received this message because you
Hello,
Django.po in french locale has
#: utils/dates.py:28
msgid "Aug."
msgstr "Aôut"
The file is encoded in UTF-8 (which is good).
On my website which have setting fr-fr i do
le {{ r.pub_date|date:"j M Y" }},
and get e 18 Ao? 2006.
Ao? instead off Aôut !
see it:
I use the rk:art's on my upcoming sites too :)
about the sitemap: something needs to be done with it ;) maybe I'll
move the link to the search page and name it "show all pages" or
something.
--~--~-~--~~~---~--~~
You received this message because you are
Super. Now it works.
Martin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
to make it even clearer:
in cars i would point to audi, vw, bmw with an rk:art.
in audi, vw, bmw i would again point to new pages engine, tires and so
on with rk:art.
if i need to explain different types of engines or tires i probably
would use the rk:art again to split into single explaining
forgot:
>you want "doesn't show on the sitemap list" ? The sitemap thing would
be a last resort of finding pages now.
yes, exactly. i then could build my "top-themes'" which show up on
sitemap. with rk:art i would then build pages to explain the top theme
in single wiki pages. otherwise i will
> they could be but forums are likely to be skipped by search engines.
you are wrong (in some way). most forums are php-driven and have
session-ids in the url. thats what make search engines "ignore" them.
search engines just skip the default php-crap. so slugs would be a big
plus. ;)
> cross
Sorry for the dumb mistake, worked like a charm !
Martin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe
as an extra I've modified diamandas/wiki/feeds.py to raise an exception
with a clear message what's going on and what needs to be changed :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
You need to use django from the SVN or backport sitemaps from SVN (put
the sitemaps folder in django/contrib)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Updated and now get:
ImportError at /
No module named sitemaps
Request Method: GET
Request URL:http://localhost:8080/
Exception Type: ImportError
Exception Value:No module named sitemaps
Exception Location:
a "bug" :)
edit settings.py and change:
ROOT_URLCONF = 'diamanda.urls'
to:
ROOT_URLCONF = 'urls'
or update svn snapshot :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Hi,
In one of my apps management.py files I'm trying to create a group and
assign permissions to it via a method connected to the post_syncdb
signal but it seems that all of the other models permissions haven't
finished being set up before my method gets triggered. Do these signal
triggered
I get:
ImportError at /
No module named diamanda.urls
Request Method: GET
Request URL:http://localhost:8080/
Exception Type: ImportError
Exception Value:No module named diamanda.urls
Exception Location:
On Sun, 2006-09-17 at 13:14 +0200, patrickk wrote:
> I´m having large text fields where an editor can post xhtml-code.
> right now, I´m using rich text editing for that area (mostly fck, but
> also tinymce).
> I´m looking for suggestions on how to cleanup the xhtml-code:
> - delete empty
I´m having large text fields where an editor can post xhtml-code.
right now, I´m using rich text editing for that area (mostly fck, but
also tinymce).
I´m looking for suggestions on how to cleanup the xhtml-code:
- delete empty paragraphs
- no text outside paragraphs/headlines/lists ...
-
maddiin wrote:
> hi piotr!
>
> maybe you could add a "hide from sitemap" check to wiki-pages to give
> more control and the ability to build hierarchical structure.
you want "doesn't show on the sitemap list" ? The sitemap thing would
be a last resort of finding pages now.
> whats not working
> maybe this is the problem 'default.hmlt', did you check it? I've
> generated the same error
> when I've wrote, in default.html, incorrect path to parent template.
> do you have in root template director 404.html file? missing this file
> also generated error
> in my web app when I set
38 matches
Mail list logo