Re: Shift a QuerySet?

2007-07-24 Thread [EMAIL PROTECTED]
, the playlist_aggregates QuerySet is evaluated (if I want to paginate the results, use generic views, etc. it becomes much harder). Thanks for your help, Eric On Jul 24, 10:09 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]&g

unbound method get_profile()

2007-07-25 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Shift a QuerySet?

2007-07-25 Thread [EMAIL PROTECTED]
it working! Thanks again, Eric On Jul 24, 10:36 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > An analogous operation would be: > > playlist_aggregates = PlaylistAggregation.obje

Re: Shift a QuerySet?

2007-07-25 Thread [EMAIL PROTECTED]
Oops, that should read "Cannot resolve keyword 'playlist_aggreation' into field", even though I am messing with song aggregations and playlist aggregations :) On Jul 24, 11:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks! > > All of your worka

Re: A convenient way to include images in a blog entry

2007-07-25 Thread [EMAIL PROTECTED]
I said to hell with it and put all the related images in a slideshow alongside the entry. On Jul 25, 11:05 am, "Kai Kuehne" <[EMAIL PROTECTED]> wrote: > Hi Patrick, > > On 7/25/07, Patrick <[EMAIL PROTECTED]> wrote: > > > What I did in one of my project

Re: Confusion over CRUD generic views and newforms

2007-07-25 Thread [EMAIL PROTECTED]
--~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Forms for complex model hierarchies

2007-07-26 Thread [EMAIL PROTECTED]
this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Forms for complex model hierarchies

2007-07-26 Thread [EMAIL PROTECTED]
cribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: There's got to be a better way

2007-07-26 Thread [EMAIL PROTECTED]
I'm probably doing something wrong in my template now, but that version is only returning one event per region, and the order is backwards. I tried .order_by('-start_date'), but it didn't appear to make any difference. On Jul 26, 3:12 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > &g

Re: There's got to be a better way

2007-07-26 Thread [EMAIL PROTECTED]
On Jul 26, 4:17 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > AssertionError: {'Southeast': [], > > 'Northeast': > > [], 'Pacific': [ > show>], > > 'Southwest': []} > > [aside: please use edited-down inline posting conventions rather > than top-post

Re: There's got to be a better way

2007-07-26 Thread [EMAIL PROTECTED]
6, 2:45 pm, Carl Karsten <[EMAIL PROTECTED]> wrote: > Tim Chase wrote: > >> In my view, I have: > >> future_events = Event.objects.filter(start_date__gte=now) > >> pacific_events = future_events.filter(club__region='Pacific') > >> rocky_mou

Re: There's got to be a better way

2007-07-26 Thread [EMAIL PROTECTED]
AssertionError: {'Southeast': [], 'Northeast': [], 'Pacific': [], 'Southwest': []} On Jul 26, 3:45 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > >>future_events = Event.object.filter( > >> start_date__gte=now).select_related( > >> ).order_

Re: Confusion over CRUD generic views and newforms

2007-07-26 Thread [EMAIL PROTECTED]
On Jul 26, 4:50 pm, Matt <[EMAIL PROTECTED]> wrote: > Hi Etienne, > > I read that {{ form.as_table }} was the default value for {{ form }} > as well, but when I insert {{ form }} into my template I get something > out which looks like the output of a __str__ method - a l

Re: problem with session persistence

2007-07-26 Thread [EMAIL PROTECTED]
not realizing that the variable has changed, and possibly another workaround if it works. On Jul 26, 1:09 pm, flynnguy <[EMAIL PROTECTED]> wrote: > Thanks for responding, I should have mentioned previously that I did > try putting 'SESSION_SAVE_EVERY_REQUEST=True' in my settings file but &

Re: problem with session persistence

2007-07-26 Thread [EMAIL PROTECTED]
is NOT modified, because this alters # request.session['foo'] instead of request.session. request.session['foo']['bar'] = 'baz' On Jul 9, 10:50 am, flynnguy <[EMAIL PROTECTED]> wrote: > Ok, I upgraded to the development version of django and that didn't > help. I then started to try and trim out

Re: Authentication with remember me like option

2007-07-26 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Forms for complex model hierarchies

2007-07-26 Thread [EMAIL PROTECTED]
users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: problem with session persistence

2007-07-26 Thread [EMAIL PROTECTED]
if statement? Did you try request.session.get('questionlist') instead of if 'questionlist' in request.session. I would think either would work, but that is worth a shot as well. On Jul 26, 1:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > What about settingsessionvariable to

Re: There's got to be a better way

2007-07-26 Thread [EMAIL PROTECTED]
roups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: How to pick a template based on the request object?

2007-07-26 Thread [EMAIL PROTECTED]
Just out of curiosity...why not use the same templates, and switch the css file you are referencing for a different look? On Jul 26, 1:53 pm, "Stefan Matthias Aust" <[EMAIL PROTECTED]> wrote: > I'm searching for the best way to "theme" an application. I'd li

There's got to be a better way

2007-07-26 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

filter by if object exists

2007-07-27 Thread [EMAIL PROTECTED]
? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit

Re: Can Django call cscript.exe to run vbscripts

2007-07-27 Thread [EMAIL PROTECTED]
On Jul 27, 2:35 pm, braveheart <[EMAIL PROTECTED]> wrote: > script process the input and forwards the output result to django; the > result is stored in a database or displayed on the page. Have the vbscript write to the same database django reads from or just output to a logfile

Re: filter by if object exists

2007-07-27 Thread [EMAIL PROTECTED]
Thanks. I knew it was simple, and I'd seen it before, but couldn't remember or find it. On Jul 27, 9:33 am, "Jonathan Buchanan" <[EMAIL PROTECTED]> wrote: > > I just know this is a dumb question, and I've seen this done > > somewhere, but what

Is cloning Facebook in Django feasible?

2007-07-27 Thread [EMAIL PROTECTED]
uot; group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Is cloning Facebook in Django feasible?

2007-07-27 Thread [EMAIL PROTECTED]
a localised version would make sense in a country where people mostly don't speak English On 27 июл, 19:55, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 7/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Is it possible to develop a Facebook function

Re: Is cloning Facebook in Django feasible?

2007-07-27 Thread [EMAIL PROTECTED]
A localised version would make sense in a country where most people don't speak English On 27 июл, 19:55, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 7/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Is it possible to develop a Facebook function

Re: There's got to be a better way

2007-07-27 Thread [EMAIL PROTECTED]
e creates calendars for them. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

friends table adding choices from the same database

2007-07-27 Thread [EMAIL PROTECTED]
. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit

Re: Looping through my POST data?

2007-07-27 Thread [EMAIL PROTECTED]
pad id based on your template code # do something here ... because it wasn't --- On Jul 27, 5:54 pm, Greg <[EMAIL PROTECTED]> wrote: > I'm trying to loop through my POST data. However I am having > difficulties. I think my 'for' statement might be w

Generating charts with ReportLab

2007-07-27 Thread [EMAIL PROTECTED]
cribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

shoppingkicks.com Shop nike air jordan air force 1 dunk sb bape sta shoes on sale only $75

2007-07-28 Thread [EMAIL PROTECTED]
s@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Looping through my POST data?

2007-07-28 Thread [EMAIL PROTECTED]
, in case you might need to do that later. Carole On Jul 28, 9:15 am, Greg <[EMAIL PROTECTED]> wrote: > Nathan, > Thanks for your help...I got it working. This is what I used: > > if values != list("0"): > > Is that what you were recommending? Because I

Re: Looping through my POST data?

2007-07-28 Thread [EMAIL PROTECTED]
value selected, instead of iterating all of the request.POST keys. This way you can have other items in your form if needed. On Jul 28, 10:58 am, Greg <[EMAIL PROTECTED]> wrote: > Carole, > So your saying that I should do: > > opad = RugPad.objects.all() > for a in opa

Re: Is there any way to associate a view with a template?

2007-07-28 Thread [EMAIL PROTECTED]
}} {% endblock%} {% block content %}{% endblock %} Then in your other templates: {% extends "base.html" %} {% block content %} content for your html specific page here {% endblock %} On Jul 28, 1:13 pm, Eloff <[EMAIL PROTECTED]> wrote: > I've got a nav.html template that doe

Re: Is there any way to associate a view with a template?

2007-07-28 Thread [EMAIL PROTECTED]
twant':value},context_instance=RequestContext(request)) Now you can access this via {{ menu }} in any of your templates. On Jul 28, 2:26 pm, Nathan Ostgard <[EMAIL PROTECTED]> wrote: > I could be wrong, but I think the problem he's having is having to > specify the menu variable in the cont

Re: ubuntu 6.06 deployment issues

2007-07-29 Thread [EMAIL PROTECTED]
://code.djangoproject.com/ticket/4296 --~--~-~--~~~---~--~~ 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

Re: friends table adding choices from the same database

2007-07-29 Thread [EMAIL PROTECTED]
'd do something like: parent_users_friends = parentuser.friends_set.all() to bring back a listing of all of his friends. On Jul 27, 8:05 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > i'm working on an app that has a table called friends whose model > looks like this:

Re: friends table adding choices from the same database

2007-07-29 Thread [EMAIL PROTECTED]
THANK YOU! i just got home, will try this to see if this works... i'm new to django so thanks for the help, i'll look up what related_name works, but it looks good. Israel On Jul 29, 9:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > If the Friend is really a user..

How do I echo template variables?

2007-07-29 Thread [EMAIL PROTECTED]
ango-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Generating charts with ReportLab

2007-07-30 Thread [EMAIL PROTECTED]
, 4:29 am, "Ben Ford" <[EMAIL PROTECTED]> wrote: > Hey Carole, > A guy called Toby has put something together using R and rpy that does > graphs... I haven't been able to make it work as yet, but he's keen to move > on with it, and wants some testers and so

Re: PopUp instead of Select widget (newforms)

2007-07-30 Thread [EMAIL PROTECTED]
Oops..pardon the typo... #1 shold say "Display a div" On Jul 30, 1:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am not using new forms... but I'm assuming you would make this a > text field... with a link next to it that says something like 'view &

Re: PopUp instead of Select widget (newforms)

2007-07-30 Thread [EMAIL PROTECTED]
above. On Jul 30, 11:12 am, Thomas Guettler <[EMAIL PROTECTED]> wrote: > Hi, > > I want to use a popUp instead of an select widget, since > there will be too many entries (>10.000). It would be better > to use a PopUp with a search form. Has anyone done something like > this

Newforms and GET Requests for Search Result Pagination?

2007-07-30 Thread [EMAIL PROTECTED]
to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Newforms and GET Requests for Search Result Pagination?

2007-07-30 Thread [EMAIL PROTECTED]
I completely forgot to run is_valid() on the receiving view, so cleaned_data wasn't being populated. This was the problem. Thanks! On Jul 30, 4:00 pm, RajeshD <[EMAIL PROTECTED]> wrote: > > Is it not possible to use Newforms with GET requests? > > It is. You can pass it an

Traversing Deep Model Objects in template...

2007-07-31 Thread [EMAIL PROTECTED]
ango-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Traversing Deep Model Objects in template...

2007-07-31 Thread [EMAIL PROTECTED]
mail to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Dojo LayoutContainer and ContentPane as application frame?

2007-07-31 Thread [EMAIL PROTECTED]
be happy for any help. Dennis --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit

AttributeError: 'module' object has no attribute

2007-07-31 Thread [EMAIL PROTECTED]
roup, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Dojo LayoutContainer and ContentPane as application frame?

2007-07-31 Thread [EMAIL PROTECTED]
ok the solution was dojo.io.bind({ url: "/projects/", load: function(type, data, evt){ docPane.setContent(data); }, mimetype: "text/html" }); sorry ... On 31 Jul., 22:37, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello Group, > >

Re: Flickr / Django

2007-07-31 Thread [EMAIL PROTECTED]
nvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined. On Jun 29, 5:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Here's a model and syncronization script I > wrote:http://www.djangosnippets.org/snippets/299/ > > BW > > On May 2

Making get_or_create (or equivalent) atomic on MySQL

2007-07-31 Thread [EMAIL PROTECTED]
roup, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Including view in a template

2007-08-01 Thread [EMAIL PROTECTED]
,'latest_articles':latest_articles}) On Aug 1, 2:34 pm, sagi s <[EMAIL PROTECTED]> wrote: > I am trying to find a way to include a view in a template. The view > generates an html snippet based on a DB query + another template. In > pseudocode what I am tr

Re: Including view in a template

2007-08-01 Thread [EMAIL PROTECTED]
--~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Compare column entries in database query

2007-08-02 Thread [EMAIL PROTECTED]
']) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this grou

Job Fair F/OSS project

2007-08-02 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Queryset of instances bound to particular ForeignKey

2007-08-02 Thread [EMAIL PROTECTED]
In model B.. if you say modela = models.ForeignKey(ModelA) You could also say b.modela_set.all() On Aug 2, 8:18 pm, Lucky B <[EMAIL PROTECTED]> wrote: > If I gather correctly you want to see every ModelA that's bound to a > particular ModelB b? > > ModelA.object

Re: how to handle forms with more than submit button

2007-08-02 Thread [EMAIL PROTECTED]
yId('myform').submit() } . . some form fields . . First Save Button . . some other stuff... Second Save Button On Aug 2, 10:36 pm, james_027 <[EMAIL PROTECTED]> wrote: > hi > > > create different URLs (and thus different views) for the different > > buttons and then redir

Re: how to handle forms with more than submit button

2007-08-02 Thread [EMAIL PROTECTED]
Oh... forgot the semicolons after .submit(); but you get the picture On Aug 2, 11:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Something like this... > > > function submitFunctionA() > { >document.getElementById('myform').action = "someurl

Re: how to handle forms with more than submit button

2007-08-02 Thread [EMAIL PROTECTED]
Well... that's how I've been doing it anyway :) On Aug 2, 11:15 pm, james_027 <[EMAIL PROTECTED]> wrote: > hi, > > On Aug 3, 11:12 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > Oh... forgot the semicolons after .submit(); but you get the p

Re: get object qs with certain generic relation

2007-08-03 Thread [EMAIL PROTECTED]
On Aug 3, 12:54 pm, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > hello all, > > I have a generic relation Flag, with a FlagType: > > class FlagType(models.Model): > name = models.CharField(maxlength=50) > description = models.TextField() > > clas

Re: get object qs with certain generic relation

2007-08-03 Thread [EMAIL PROTECTED]
On Aug 3, 1:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Aug 3, 12:54 pm, Bram - Smartelectronix <[EMAIL PROTECTED]> > wrote: > > > > > hello all, > > > I have a generic relation Flag, with a FlagType: > > > class FlagType

Only save if changed?

2007-08-03 Thread [EMAIL PROTECTED]
o post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Job Fair F/OSS project

2007-08-03 Thread [EMAIL PROTECTED]
that's not a factor. It's also possible for me to just setup a Trac site (I'm most likely gonna setup one anyhow) like I've been using with my previous internal projects and forego sourceforge and google code. On Aug 3, 5:12 am, "Chris Hoeppner" <[EMAIL PROTECTED]> wrote: > What

Re: Only save if changed?

2007-08-03 Thread [EMAIL PROTECTED]
Thanks! On Aug 3, 3:04 pm, Forest Bond <[EMAIL PROTECTED]> wrote: > On Fri, Aug 03, 2007 at 07:37:17PM -0000, [EMAIL PROTECTED] wrote: > > > In my site_users model (which extends auth user), I've got: > > > def save(self): > > self.geocode = self.get_geo

Re: Only save if changed?

2007-08-03 Thread [EMAIL PROTECTED]
On Aug 3, 3:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks! > > On Aug 3, 3:04 pm, Forest Bond <[EMAIL PROTECTED]> wrote: > > > On Fri, Aug 03, 2007 at 07:37:17PM -, [EMAIL PROTECTED] wrote: > > > > In my site_users model (w

Re: Compare column entries in database query

2007-08-03 Thread [EMAIL PROTECTED]
Hi Russ! Thanks for the info! Saves me from trying around more. Yours, Thomas On Aug 2, 1:25 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 8/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I want to find all entries in a database

css 404?

2007-08-03 Thread [EMAIL PROTECTED]
! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this grou

login issue

2007-08-04 Thread [EMAIL PROTECTED]
ubscribed 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Maps / Variables in template system.

2007-08-05 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Without Apache

2007-08-05 Thread [EMAIL PROTECTED]
I'd second the recommendation for lighttpd, and would suggest sqlite for the backend if you want to go slim and trim. I've worked with plenty of mssql servers and none of them ever brought to mind the word 'minimal'. Derek Willis On Aug 5, 3:50 pm, Parnell Springmeyer <[EMAIL PROTECTED]>

Enjoy it !

2007-08-06 Thread [EMAIL PROTECTED]
- --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.

Re: DB queries with filter and exclude

2007-08-06 Thread [EMAIL PROTECTED]
, 1:46 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > Now I want to get all objects, which have set tag "food" *and* *have > > not* set tag "cake". > > > This get all objects with tag="food" set (obj1..obj5): > > >Obj.objects.filt

Re: DB queries with filter and exclude

2007-08-06 Thread [EMAIL PROTECTED]
{% endfor %} {% endfor %} --~--~-~--~~~---~--~~ 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

How to split up views into different files...

2007-08-06 Thread [EMAIL PROTECTED]
p. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Single-line comment doesn't seem to work

2007-08-07 Thread [EMAIL PROTECTED]
-~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://gr

Re: Single-line comment doesn't seem to work

2007-08-07 Thread [EMAIL PROTECTED]
The templates are html...so to comment you would use On Aug 7, 2:32 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I've the following template and when I render it, the single line > comment doesn't get commented out. > Am I missing something; I'm new to Djan

Re: multiple user account login

2007-08-07 Thread [EMAIL PROTECTED]
Hi, On Aug 8, 5:02 am, james_027 <[EMAIL PROTECTED]> wrote: > How do I enable multiple user account login in one computer? I don't > know what is the disadvantage if this works this way, I just need it > for development and testing purpose. I am using a little different app

Re: a rather big, new django site:

2007-08-08 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/djang

Re: How to add a javascript calendar to date textboxes

2007-08-08 Thread [EMAIL PROTECTED]
://www.frequency-decoder.com/demo/date-picker-v2/ And again, it's just adding a class to the input. On Aug 7, 5:45 pm, Noam <[EMAIL PROTECTED]> wrote: > Hello, > > I wanted to add a javascript calendar (like the one you have in > Django's admin) to a date textbox in a form. &

Why aren't my flatpages working?

2007-08-08 Thread [EMAIL PROTECTED]
send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Why aren't my flatpages working?

2007-08-08 Thread [EMAIL PROTECTED]
I believe so. There's only one, and the domain matches the site domain. In the DB, it has the ID 1. Not seeing anything wrong there. On Aug 8, 10:28 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote: > On 8/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >

Re: Why aren't my flatpages working?

2007-08-08 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Why aren't my flatpages working?

2007-08-08 Thread [EMAIL PROTECTED]
I dunno. Never had a problem with them before. Lemme try the subdomain thing. On Aug 8, 10:36 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote: > On 8/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Unless it's the subdomain... I've got it set up

Re: database permissions

2007-08-08 Thread [EMAIL PROTECTED]
On Aug 8, 9:49 am, Stephen Bunn <[EMAIL PROTECTED]> wrote: > I know it obviously needs to be able to execute SELECT, UPDATE, and > INSERT statements, but what about ALTER? SHOW? does it need to create > views? create indexes? what about locking tables and creating temporary >

Re: Single-line comment doesn't seem to work

2007-08-08 Thread [EMAIL PROTECTED]
Thanks for all the replies! I am using 0.95, maybe that's why it doesn't work. ~cw On Aug 8, 12:42 am, Collin Grady <[EMAIL PROTECTED]> wrote: > What version of django are you using? I seem to remember the single > line comments being added after 0.96, though I could

Access the request object in a filter?

2007-08-09 Thread [EMAIL PROTECTED]
iated. Kind Regards, Oliver --~--~-~--~~~---~--~~ 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

Re: testing

2007-08-09 Thread [EMAIL PROTECTED]
ango-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: (1040, 'Too many connections')

2007-08-09 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Is this not allowed select_related()

2007-08-09 Thread [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote: > Hi collin > > On Aug 9, 1:06 pm, Collin Grady <[EMAIL PROTECTED]> wrote: > > > Because you have an infinite loop there. > > > Why are you linking both directions? There's a reverse relation > > available to get from

[Q] Django with modpython in Ubuntu

2007-08-09 Thread [EMAIL PROTECTED]
rror("Illegal key value: %s" % key) CookieError: Illegal key value: hide:inst11 Can anyone help me solve this problem? Thanks in advance. Young-Jin Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Django with modpython in Ubuntu

2007-08-09 Thread [EMAIL PROTECTED]
I cannot explain it, I was able to solve this problem by deleting cache of my browser. Young-Jin On Aug 9, 12:53 pm, John <[EMAIL PROTECTED]> wrote: > It would appear to > Be a problem with your cookie.py > File.In order for me to help you further I will need > To see

ReStructuredText, markdown and other

2007-08-09 Thread [EMAIL PROTECTED]
s "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Two Things

2007-08-09 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more opti

Re: Two Things

2007-08-09 Thread [EMAIL PROTECTED]
Thanks Mike. -LJ On Aug 10, 12:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > New to the group, so I thought I'd post my favorite > > Django video:http://video.google.com/videoplay?docid=-70449010942275062 > Django > book:http://www.amazon.com/Pro-D

MediaWiki Port in Django - Project Interest?

2007-08-10 Thread [EMAIL PROTECTED]
this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Feed question

2007-08-10 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Google Checkout w/out a shopping cart?

2007-08-10 Thread [EMAIL PROTECTED]
ngo users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Syncing microformat data with generic views

2007-08-10 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit

Re: Generating charts with ReportLab

2007-08-10 Thread [EMAIL PROTECTED]
This library looks pretty nice too... for graphs... if you decide not to go the reportlab route. I haven't fiddled with it any, but was looking over the docs and it looks promising: http://nullcube.com/software/pygdchart2.html On Aug 6, 4:12 am, "Ben Ford" <[EMAIL PROTECTED]> wr

  1   2   3   4   5   6   7   8   9   10   >