On Wed, Dec 17, 2008 at 11:34 AM, samira wrote:
>
> I active admin site for Django 1.0.2, it is correct on my local, but
> I
> see below error on server:
>
> emplateSyntaxError at /mywebSite/admin/
>
>
> Caught an exception while rendering: Tried activateAccount in module
> mywebSite.mywebSite_ap
On Sun, Jan 11, 2009 at 9:03 PM, AlexiPoliski wrote:
...
> What I would like to ask is, from more experienced Django developers,
> what way do you prefer to create your applications? Models then views
> then templates? Models then templates then views? Or models then views
> AND templates concurr
Does anyone use a python interface to rrdtool? I've looked around,
and it seems there are several interfaces, but non have been updated
recently.
If someone could report success with one, I'd appreciate it.
--~--~-~--~~~---~--~~
You received this message because
We've firmed up the Dallas Django sprint plans:
Django 1.1 is around the corner, but there are lots of bugs left to
squash. Come meet the other Django people around Dallas and check out
Cohabitat, the great coworking spot in uptown.
We'll start Saturday, April 18, 2009 at 9:00am through Sunday,
On Wed, Oct 6, 2010 at 3:58 PM, Emil Stenström wrote:
> On Aug 24 2007, 8:18 pm, "Jeremy Dunck" wrote:
>>
>> On 8/24/07, whitesmell wrote:
>> > One of my response content was build by several synchronous method,
>> > how can Iflushmy response to clie
That's enough, folks. Gisela seems to be doing some off-topic work
and made a silly mistake using gmail autocomplete.
Let's let this one go. There's no need to be crass or misogynist.
On Fri, Feb 26, 2010 at 11:22 AM, Juan Hernandez wrote:
> Lastima que esa no seas tu Gisela!! jajajaj
>
> sld
On Sat, Mar 27, 2010 at 10:40 PM, Paul Harouff wrote:
> On Sat, Mar 27, 2010 at 2:45 AM, Thierry Chich
> wrote:
>> Are you sure that the postgres driver of your jython is installed ?
>>
>
> Yes. But I don't believe Jython is seeing it.
>
> I might have to switch to python. I was hoping to use jy
On 6/11/07, Mike Schinkel <[EMAIL PROTECTED]> wrote:
...
> The following recipient(s) could not be reached:
>
> 'django-users@googlegroups.com' on 6/11/2007 6:15 PM
> 550 No such user here
> ===
I haven't had that problem.
--~--~-~--~~~-
On 6/11/07, Justin Lilly <[EMAIL PROTECTED]> wrote:
> For archival purposes, the reason it wasn't working is I had named one of my
> apps "calendar". After I renamed it to agenda and remapped it appropriately,
> everything was in working order.
Ouch. This sort of thing is actually a pretty commo
On 6/11/07, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just finished a image bundle implementation for django, its a technique
> used in
I really like this idea, but my needs are different.
I don't need resizing of images in the bundle, and I don't like the
idea of loading all the orig
On 6/12/07, strelok31 <[EMAIL PROTECTED]> wrote:
>
> Any ideas? I have been stuck on this for a while and I got nobody else
> to ask for help. Thanks again.
If you're really stuck, you need pointers as much as you need a
solution; there really are many sources to find info on how to
accomplish th
On 6/12/07, Bryan L. Fordham <[EMAIL PROTECTED]> wrote:
> It's a site to track how you state senators and congressmen vote. Right
> now it only has information for Georgia, but I'm working on adding the
> next state (namely, South Carolina) right now.
Nice. Screen-scraping the votes, or is there
On 6/13/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote:
...
> all this thanks to other libraries (mx tools)
I'm not sure if it'll help, but psycopg2 doesn't rely on mx.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On 6/14/07, SmileyChris <[EMAIL PROTECTED]> wrote:
> Alternately, make the string a "raw" one (note the r before the
> quote):
> r'[-\w]+'
r'(-|\w)+'
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gr
On 6/15/07, Bruno Tikami <[EMAIL PROTECTED]> wrote:
> I've
> already read the hole old bunch of topics and dicussions about this matter,
> jsut want to know if there is come news.
As far as I know, just what's been discussed on this list.
--~--~-~--~~~---~--~~
You
On 6/16/07, Vertigo <[EMAIL PROTECTED]> wrote:
> * Are Django sessions only designed to be used through the request
> context (and session middleware) ?
No, but they're most convenient that way.
> * Is there any "easy" snippet of code to do what I want (i.e update a
> Session object out of view)
On 6/17/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
...
>
> Use the low-level caching API to store things like this. Write a short
> funciton that retrieves a value from the cache and regenerates it and
> stores it if it is not in the cache. No extra work required.
>
> http://www.djangoproje
On 6/18/07, johnny <[EMAIL PROTECTED]> wrote:
> I am getting the following error:
>
> citylist = CityList.objects.get(
> NameError: name 'Q' is not defined
from django.db.models.query import Q
--~--~-~--~~~---~--~~
You received this message because you are sub
On 6/18/07, walterbyrd <[EMAIL PROTECTED]> wrote:
>
...
> AttributeError at /now/
> 'function' object has no attribute 'rindex'
I think you're using an old version of Django. The latest stable is
0.96. Please update to that.
--~--~-~--~~~---~--~~
You received th
On 6/18/07, walterbyrd <[EMAIL PROTECTED]> wrote:
...
> (r'^now/$', 'survey.views.current_datetime'),
That's only necessary due to the old Django version.
> I tried that, and it still didn't work. Then I changed the parameter
> to:
>
> (r'^now/$', 'views.current_datetime'),
This is due to your
On 6/19/07, Merric Mercer <[EMAIL PROTECTED]> wrote:
>
> I am having real problems with IE6 and HttpResponseRedirect, IE keeps
> showing a blank page, while Firefox works absolutely fine.
>
> Has anybody else come across this issue ?
Not that I know of. Show us some code?
--~--~-~--~--
On 6/19/07, Carl Karsten <[EMAIL PROTECTED]> wrote:
...
> The django cache set/get does work. Thanks, M.
Which cache backend are you using? The snippet I linked is for *a*
backend. Many of the Django caching backends do need to pickle since
they marshal out of process.
--~--~-~--~
On 6/19/07, Carl Karsten <[EMAIL PROTECTED]> wrote:
>
> > Which cache backend are you using? The snippet I linked is for *a*
> > backend. Many of the Django caching backends do need to pickle since
> > they marshal out of process.
>
> Um, "The django cache" implies there is only one. There may
On 6/19/07, Brian Luft <[EMAIL PROTECTED]> wrote:
>
> In my opinion, claims of learning curve time are somewhere between
> mildly and wildly exaggerated. In my opinion the actual learning
> curve will depend on a number of factors including but not limited to:
You should make this a blog post an
On 6/21/07, David Larlet <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm proud to announce that after a few months of stagnation the french
> community is online with a new site (powered by django of course) :
> http://www.django-fr.org/
I don't speak French, but this is very nice to see.
Is there an
On 6/21/07, Gábor Farkas <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> i have to add some forms to our django0.96-using application.
> until now i used oldforms. are the newforms the recommended way to go
> with django0.96?
0.96 was [4810]. The newforms-admin branch is using newforms
extensively and as
On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
...
> response = self.client.get('/broadcasts/new/',
> {'loggedParticipant': participant} )
It's not clear to me what the dictionary there is meant to do. That
dictionary is passed as the querystring, *not* as the session.
Also, i
On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Jeremy,
>Thanks for the response.
>
> to be more clear maybe -
>i was actually trying to pass the dictionary as part of the request
> object - since the view looks for the logged participant in the
> request from the page.
>
> wh
On 6/21/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> To be honest I haven't ever done anything with Django past the hello
> world examples,
Graham, thank you for frequently answering questions that fall in the
gap between Django and mod_python, especially given your more recent
work on mod_w
On 6/22/07, Christian Markwart Hoeppner <[EMAIL PROTECTED]> wrote:
>
> Hey! I was just thinking about this. Count me in. Anyone else in to get
> #django-es and django-es.org/com/es up? Spanish people need spanish
> django ;)
>
I'm GMT-6, which I think will only be an issue while there are fewer
t
On 6/22/07, Ramiro Morales <[EMAIL PROTECTED]> wrote:
> /me raises hand
>
> I'm there right now. Alone. :)
Dice que estas en #django-es en freenode o un otra network? Estoy en
#django-es ahora.
(Como se dice "network"?)
--~--~-~--~~~---~--~~
You received this me
On 6/23/07, Grupo Django <[EMAIL PROTECTED]> wrote:
> Now I'm thinking to set a memcache system, and I have a question. Is
> there any way to flush the cache and force the load of the new
> content?
from django.core.cache import cache
cache.delete('your_key')
> As a second question, I'd like to
On 6/24/07, robo <[EMAIL PROTECTED]> wrote:
> (r'^images/schematics/(?P.*)$', 'django.views.static.serve',
> {'document_root': '/www/htdocs/gfs_chefrevival/images/schematics'}),
...
I think you want a trailing slash after path:
r'^images/schematics/(?P.*)/$'
> I also suspect that this doesn't w
On 6/25/07, Jorge Gajon <[EMAIL PROTECTED]> wrote:
>
>
> Se dice "red"
Gracias, Jorge. :)
--~--~-~--~~~---~--~~
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@goog
On 6/25/07, grassoalvaro <[EMAIL PROTECTED]> wrote:
>
> Anyone? That was greate idea but i see that last update was long time
> ago... i need multiple databases in my project so if anyone know
> anything about this (maybe own solutions in this area?) please inform
> me.
>
No one is working on it
On 6/25/07, Tim Tsai <[EMAIL PROTECTED]> wrote:
...
> sqlite> select position_payrate, position_payrate - 2 as diff,
> abs(position_payrate - 2) as adiff from positions order by adiff asc
> limit 20;
> 2|0|0
...
http://www.djangoproject.com/documentation/db-api/#extra-select-none-wher
Hello all,
I'm trying to document uses of django signals in preparation for a
presentation.
I'm having some trouble finding any uses of class_prepared.
I imagine this is because the class_prepared signal is sent so early
in Django's startup, but am curious:
Does anyone know of an example
On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I use class_prepared in django-multilingual
Thanks. :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
On 6/26/07, leif <[EMAIL PROTECTED]> wrote:
> My main problem, though, is figuring out how to create a text input
> lookup field for the ZIP code foreign key.
> Do I need to code a new
> widget? A new form field class? A function to hook into newforms'
> validation?
> And if I create a widget o
On 6/27/07, Vance Dubberly <[EMAIL PROTECTED]> wrote:
...
> ball of red tape but let's just say django is ALOT more resource intensive
> and ALOT slower.
Have you done any profiling? I haven't compared such a port, but I'd
be surprised if performance is significantly (i.e. one order)
different w
On 6/27/07, leif <[EMAIL PROTECTED]> wrote:
...
> Thanks for the input, Jeremy. I've actually decided to use newforms-
> admin since I won't be going to production for another few months
Sorry for missing that the first time. :)
Admin uses django.newforms.models.form_for_model, which takes an
o
On 6/27/07, Val <[EMAIL PROTECTED]> wrote:
...
>change a boolean
> value
A boolean value where, in what context, for what purpose?
> it
> takes multiple refreshes for the value to update itself.
There are multiple processes in general-- runserver is one process,
but shouldn't be used outside of
On 6/27/07, Val <[EMAIL PROTECTED]> wrote:
>
> Specifically, the boolean values describe certain types of data the
> user wishes to mask when looking through the database. The values are
> specific to each user, so there is no reason to DB them. I am storing
> them in the session variable.
The
On 6/27/07, BigBaaadBob <[EMAIL PROTECTED]> wrote:
>
> New install and new user, so maybe I'm doing something dumb. I
> searched and didn't see anything...
...
> django.contrib.auth: 'module' object has no attribute
> 'get_max_name_length'
> 1 error found.
Which DATABASE_BACKEND are you using?
On 6/27/07, leif strickland <[EMAIL PROTECTED]> wrote:
...
> zip_code_id =
> Postal_Code.objects.get(postal_code=value).id
Is Postal_Code.postal_code a string or numeric?
...
> try:
> zip_code = Postal_Code.objects.get(id =
> value).
On 6/27/07, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote:
>
> def get_admin_url(self):
> return "%s/%s/%s/%s/" % ("/admin", self._meta.app_label,
Small tweak to support models which don't use AutoField for primary_key.
def get_admin_url(self):
pk = getattr(self, self._meta.pk.att
On 6/27/07, Chris Brand <[EMAIL PROTECTED]> wrote:
...
> Hmmm. Nice, except that it hardcodes the base url of the admin, which leads
> me to this :
If you're wanting it for actual inclusion, there's also the edge case
of whether the model's been saved. If not PK is None, and the URL
will be mal-
On 6/27/07, rycole <[EMAIL PROTECTED]> wrote:
> Or, will these views stay backwards compatible through
> future versions? These views provided by auth are exactly what I need,
> but I don't want to use them if I will need to change stuff later. Any
> ideas?
I'm pretty sure they'll be updated to n
On 6/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a lightTPD setup. Assume my django project is foo located at /
> home/foo, the document root is in /home/foo/public_html, and the
> django templates are in /home/foo/templates.
>
> I've configured lightTPD as follows:
> ==
On 6/28/07, Doug B <[EMAIL PROTECTED]> wrote:
>
> Are you sure the request is actually being made, and not ignored by
> the browser? If you do GETs to the same url with the same parameters
If you do requests that have side effects, you shouldn't be using GET.
Consider POST.
--~--~-~--~
On 6/28/07, Vance Dubberly <[EMAIL PROTECTED]> wrote:
> However resource intensity is a very big deal. RAM is a huge factor
> here.
Thanks for clearing up the issue.
It's true that the process-per-request model is heavier in terms of
RAM than alternatives, but it's generally fast. Maybe your
On 6/29/07, Sebastian <[EMAIL PROTECTED]> wrote:
> From my point of view, however, the problem remains
> that the the widget definition
> is still in the middleware.
I think you mean view?
> it seems to be the most logical place to do it.
Not to me-- form processing is fairly complex, consideri
On 6/29/07, dailer <[EMAIL PROTECTED]> wrote:
...
> found my answer on comp.lang.python (these nested functions are a bit
> crazy)...
For this example:
def foo(msg1):
def bar(msg2):
print msg1, msg2
return bar
if it helps, you can consider the parent declaration (foo) to be an
obje
On 6/29/07, Sebastian <[EMAIL PROTECTED]> wrote:
> Im still not sure, however, that the definition
> of how it gets rendered
> in hml should be anywhere but the template.
Ah, so if I read that right, you'd be in favor of an optional mapping
from field to widget supplied by the template.
Right no
On 6/29/07, Kirk Strauser <[EMAIL PROTECTED]> wrote:
...
> ...which yields the text "Welcome, kirk. Thanks for logging in." I'm
> finding this somewhat confusing in that page_template knows my name if
> I'm viewing the login page but not the main index.html.
Yep, that doesn't make sense. Someth
On 6/29/07, Kirk Strauser <[EMAIL PROTECTED]> wrote:
> I hate it when you feel *so close* to finding the answer but can't make that
> final little leap. :-)
Hmm.
What's your MIDDLEWARE_CLASSES setting look like?
--~--~-~--~~~---~--~~
You received this message be
On 6/29/07, Kirk Strauser <[EMAIL PROTECTED]> wrote:
...
> return render_to_response('index.html',
> context_instance=RequestContext(request))
...
>
> My only concern is that it would seem that I'll need to manually build and
> pass in a RequestContext for every single view, since I want to h
On 6/29/07, JHeasly <[EMAIL PROTECTED]> wrote:
...
> 'UserFlagManager' object has no attribute 'objects'
Very odd. UserFlag has an objects attribute which is an of
UserFlagManager. Looking at the svn source, I don't see how UserFlag
in views.userflags.flag() could refer to a UseFlagManager obje
On 6/30/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
...
> No, this isn't possible. The settings file is read once and then the
> settings are cached (and are assumed to be static).
Actually, it *is* possible to alter the urlconf that's processed on a
per-request basis, though TEMPLATE_DIR
On 6/30/07, Dennis K. <[EMAIL PROTECTED]> wrote:
> but I run into a problem when using ManyToManyFields. They don't seem
> to resolve.
...
> I'm using django 0.95.1 with python 2.4.4 on Ubuntu 7.04 -- can
> anybody hlp me solve this?
I think this (both test case and error) should be filed as a ti
On 6/30/07, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
>
> Vladimir Pouzanov wrote:
> serve both sites from one django process.
>
> Why not just have two settings files?
Two settings files being used by a single process?
How would that work?
--~--~-~--~~~---~--~~
Y
On 6/30/07, Dennis K. <[EMAIL PROTECTED]> wrote:
> The magic behind ManyToManyFields relies on all models (well, the
> models used in the relationship) being present in an appname.models
> module. When I did that, the thing magically worked.
Yeah, ORM lookups are implemented by descriptors which
On 7/1/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> > Queryset is not a list?
>
> I think you know the answer to your own question. :-)
See itertools.chain if you want them to stay lazy. If you don't care
about giving up laziness, just list() each qs.
--~--~-~--~~
On 7/1/07, Davide.D <[EMAIL PROTECTED]> wrote:
> def topics_I_create(request, user_name):
> topic_list = Topic.objects.filter(author__username__exact =
> user_name)
>
> But how to get topics they replied?
>
> def topics_I_reply(request, user_name):
topic_list =
Topic.objects.filter(topicc
On 7/1/07, Davide.D <[EMAIL PROTECTED]> wrote:
>
> > > def topics_I_reply(request, user_name):
> >
> > topic_list =
> > Topic.objects.filter(topiccomment__author__username__exact=user_name)
>
> Thanks a lot. It work!
>
> But there's still a problem, if a user replied a topic n times, the
> qu
On 7/1/07, cesco <[EMAIL PROTECTED]> wrote:
>
> I'd simply like to know whether there is a rough estimate of when the
> geodjango branch will be merged trunk.
Roughly, months, not weeks.
You can see some info on progress here:
http://code.djangoproject.com/wiki/GeoDjango#Implementation
We're st
On 7/1/07, Merric Mercer <[EMAIL PROTECTED]> wrote:
> I want to change the Cache-Control on the HTTP header. Can anybody
> advise how I do this. Currently my view returns
> a render_to_response like so:-
>
> return render_to_response(template_name,{'code': code
> },context_instance=RequestContex
On 7/1/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> for header in headers:
> f[header]=headers[header]
Sorry, that should be this:
for header in headers:
r[header]=headers[header]
--~--~-~--~~~---~--~~
You received this mes
On 7/1/07, rtconner <[EMAIL PROTECTED]> wrote:
>
> Hello Djangoes (Djangoers?),
Djangonauts? Djangistas? Djangans?
> 1. First, I've not seen much on webhelpers (aka auto generate an
> anchor or other html).
I'm not sure I've seen enough of a pattern in ways HTML is used.
{{eh}} ? How would
On 7/2/07, jj <[EMAIL PROTECTED]> wrote:
>
> I have an app which handles, lets say, Books. I'd like to display up
> to 1,000 of them on a single page.
How many HTTP requests?
How many queries?
How many bytes in response?
What web server?
...
> - Books have Authors, Publishers, etc. I use select_
On 7/2/07, jj <[EMAIL PROTECTED]> wrote:
> > How many HTTP requests?
>
> It's only me testing at the moment, and it's already slow enough.
Sorry, I meant how many HTTP requests *per page*, as in, how many
external resource references?
Are you serving media off a separate server, or though apach
On 7/2/07, JHeasly <[EMAIL PROTECTED]> wrote:
> Sorry, I didn't mean to convey that ... userflags.flag() refers to
> UserFlagManager directly.
Ah, ok. Yeah, this has been broken a long while.
The comments contrib needs some love, but I understand Jacob's working
on a rewrite, hence the lack of b
On 7/3/07, scadink <[EMAIL PROTECTED]> wrote:
> 3a. I wish Django would simply assume that my templates are under
> app_name/templates. That way, I would have my models and views in the
Use the app template loader?
http://www.djangoproject.com/documentation/templates_python/#loader-types
>
On 7/3/07, jj <[EMAIL PROTECTED]> wrote:
> def is_visible_by(self, author):
> projects = author.projects.all()
> return author.user.is_staff or\
> author.is_manager or\
> (author.is_lead_writer and (self.project in projects)) or\
> (author =
On 7/4/07, Steve Bergman <[EMAIL PROTECTED]> wrote:
> With iterative rendering (and if the Firefox guys would fix the
> performance issues with large tables) I'd be happy as a clam.
Don't miss Malcolm's caution about middleware, though.
CSRF certainly will cause the problem he warned about.
--
On 7/5/07, RajeshD <[EMAIL PROTECTED]> wrote:
> Not sure. What RDBMS are you using? I understand about the need to
> retain your DB structure as is but are you allowed to *add* new
> constraints to the DB?
Django does not support multi-column primary key tables.
If you'll be doing insert/update/
On 7/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> In the cases where an existing record is being edited, this doesn't
> really matter, but when a user adds a new record, and I redirect him
> to the page to view all of the objects in that table, if he then hits
> refresh, it adds the recor
On 7/5/07, John-Scott <[EMAIL PROTECTED]> wrote:
> (i.e. MEDIA_ROOT, MEDIA_URL, ADMIN_MEDIA_PREFIX) are
> supposed to interact with the Apache config. back to the docs...
MEDIA_ROOT is used for uploads (like FileField and ImageField.
MEDIA_URL should be the service URL matching MEDIA_ROOT; it is
On 7/5/07, Clint Ecker <[EMAIL PROTECTED]> wrote:
> It would be super cool to invalidate the cache (or not) at the
> moment I update the data, but it's not mission critical.
How's the data updated? Need to know how to get the update info to
the cache. :)
> Long story short, my current approach
On 7/5/07, John-Scott <[EMAIL PROTECTED]> wrote:
> In my settings.py, I now have:
> MEDIA_ROOT = '/var/www/mysite.com/media/'
> MEDIA_URL = 'http://mysite.com/media/'
> ADMIN_MEDIA_PREFIX = '/media/'
Err, I don't have my code or settings file handy. This is the kind
of thing you forget, since i
On 7/6/07, Clint Ecker <[EMAIL PROTECTED]> wrote:
...
> When I set up caching I then just cache this_month_detail for 15
> minutes and previous_month_detail for 10 years or so.
What cache backend are you using?
Note that memcached has an LRU expiry policy, so that if there is
pressure on the cac
On 7/6/07, patrickk <[EMAIL PROTECTED]> wrote:
>
> when having a header where the username and a logout-button is
> displayed, how do you cache this page/view?
There's a CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting if you want to only
do anonymous caching.
But I think you must have your cache middlew
On 7/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> class content(model.Models):
> link = models.URLField(verify_exists=True)
> mods = models.SomeKindOfManyToOne(lotsOfMods)
Both in the database and in Django's ORM, it's done the other
direction. What you're looking for is called a fo
On 7/7/07, patrick k. <[EMAIL PROTECTED]> wrote:
> I don´t understand why the page_cache is keyed by the vary header and
> the view_cache is not. is there a reason for this?
You mean cache_page rather than page_cache, but what is view_cache?
I think I may have spotted the problem: the cache_page
On 7/8/07, Ville Säävuori <[EMAIL PROTECTED]> wrote:
> We arrived to Vilnius yesterday and are leaving on Friday evening. If
> the weather stays like this, I'm sure some company at the local bars
> (after the conference hours) wouldn't hurt =)
Simon Willison is keynoting, and he is an original co
On 7/8/07, Carl Karsten <[EMAIL PROTECTED]> wrote:
> Something between that and the admin look/feel. The goal is to show someone
> what data will be displayed ins a some what sane way during development, and
> make it pretty some other day.
Maybe you want databrowse?
http://www.djangoproject.com
On 7/8/07, Carl Karsten <[EMAIL PROTECTED]> wrote:
> Right look, wrong source. My {{object}} is the results of a calendar display
> with a bunch of these: http://dell29:8000/eventcal/detail/600/
I seriously doubt "dell29:8000" is resolvable for me. :)
> But that circumvents the view and {% ex
On 7/9/07, Santhosh <[EMAIL PROTECTED]> wrote:
> I think it may be because django
> makes a new connection and authenticates etc..
Django uses one database connection per request.
> terminate the connection only when i
> want it to..
Not easily, no.
Turn on debug, and check how many queries are
On 7/9/07, Daniel Kvasnicka jr. <[EMAIL PROTECTED]> wrote:
>
...
> Django dies with:
>
Dies with... what?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to d
On 7/9/07, Daniel Kvasnicka jr. ...
> stream = loader.load('index.xml').generate(
> types =
> AdSpaceType.objects.all(),
...
> UnicodeDecodeError at /
> 'ascii' codec can't decode byte 0xc5 in position 1: ordinal not in
> range(1
On 7/9/07, Daniel Kvasnicka jr. <[EMAIL PROTECTED]> wrote:
> >>> x[0].name.__class__
>
>
> I'll probably try SVN, but dunno about my hosting provider...
It looks like you could prepend your python path to force a local
Django to be used:
http://modpython.org/live/current/doc-html/dir-other-pp.ht
On 7/10/07, bedros <[EMAIL PROTECTED]> wrote:
>
> they just released under open source (LGPLv2).
>
>
> https://storm.canonical.com/
Prior thread:
http://groups.google.com/group/django-developers/browse_thread/thread/185f62e8e26d71ea/fc311fdd69f37006?
--~--~-~--~~~---~
On 7/11/07, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I had the same error. Today, after "svn update" it worked.
>
Right, see this ticket:
http://code.djangoproject.com/ticket/4823
It wasn't a book error; it was a Python 2.3 incompatibility bug.
--~--~-~--~~
On 7/11/07, Toby Dylan Hocking <[EMAIL PROTECTED]> wrote:
> If you still need help with making data-driven plots, why don't you check
> out my new Django package --- I'd like some testers and comments.
Initial reaction-- sweet!
After linking dataplot into my contribs dir and adding both dataplot
On 7/11/07, Toby Dylan Hocking <[EMAIL PROTECTED]> wrote:
> general enough to handle several different backend
> plotting languages, such as matplotlib, pil, octave,
How hard would it be to depend on PIL rather than ImageMagick? I'm
asking because Django already requires PIL if you want ImageFie
On 7/11/07, Justin Lilly <[EMAIL PROTECTED]> wrote:
>
> Hey all. I'm trying to play around with API's and I wanted to tap into
> Amazon's to get book listings.
I'm not sure what this has to do with Django.
> The problem is that when I search for
> "python" in books, only 2/5ths of the results ac
On 7/12/07, LaundroMat <[EMAIL PROTECTED]> wrote:
...
> I don't exactly see what you'd want to do this though. It's a lot
> easier to stick to the standard.
Perhaps he's using a source control system with pessimistic locking.
So, yeah, you can do this:
app_dir/
models.py -> "from sub_model im
On 7/12/07, Sells, Fred <[EMAIL PROTECTED]> wrote:
...
> So I'm not using many (any?) of the cool features of Apache or django once
> my page is up. Would be reasonable to bypass Apache (and django) and use
> something like SCGI to just serve XML data? Or did I just reveal how little
> I truely
On 7/12/07, Patrick <[EMAIL PROTECTED]> wrote:
> Using a database is assumed,
Not true. URL dispatch, forms, and views still work.
It very must depends what kind of site you're making.
Though I raise my eyebrow at the idea that making something accessible
via web service somehow makes it more s
On 7/14/07, Amit Ramon <[EMAIL PROTECTED]> wrote:
> 1. The language must be set before creating the menu (so the menu will be in
> the correct language). I assume that middleware gets called before context
> processors. Am I right here?
Yes.
> 2. I noticed that the middleware is called for every
1 - 100 of 756 matches
Mail list logo