Manipulators problem

2006-10-05 Thread Carlos Yoder
Hello djangoers. This is related to my last post (cry for help would be more proper) on an AddManipulator 'losing' a primary key's value. I guess the problem's here (pasted from dynamic trace), on django/db/models/manipulators.py in save (line 101): auto_now_addFalse f

Re: Support for static content?

2006-10-05 Thread Ivan Sagalaev
John M wrote: > Curious, does that give you the full user context too? Yes, all generic views use RequestContext. Which means you have not only 'user' available but everything that your context processors provide. They are listed in settings as TEMPLATE_CONTEXT_PROCESSORS and you can use your

HTML entities

2006-10-05 Thread Dirk Eschler
Hi, in PHP *shrug* i used to pipe user input through htmlentities() before i stored it in a database. Basically to avoid encoding issues with German special chars. ä -> ä Ö -> Ö ß -> ß etc. How can i achieve this when defining a model in Django? Or is it a bad pratice and there's a better wa

Re: HTML entities

2006-10-05 Thread Malcolm Tredinnick
Hi Dirk, On Thu, 2006-10-05 at 14:05 +0200, Dirk Eschler wrote: > Hi, > > in PHP *shrug* i used to pipe user input through htmlentities() before i > stored it in a database. Basically to avoid encoding issues with German > special chars. > > ä -> ä > Ö -> Ö > ß -> ß > etc. > > How can i achi

Does anybody solved the django project distribution problem?

2006-10-05 Thread [EMAIL PROTECTED]
i find this thread from Rob: Distribute Django program to run on a local computer http://groups.google.com/group/django-users/browse_thread/thread/609f539387ba8296/a3ff0fc87da20bed i m trying to do the same thing.but the thread end with no result. Rob,have u solved your problem? --~--~

A request regarding the Wiki

2006-10-05 Thread Malcolm Tredinnick
[This isn't targeted at anybody in particular and I do not want to discourage people from adding Wiki content. I was just reminded of it seeing the YUI Ajax additions go in just now.] If you write your Wiki page in the first person ("I did this.", etc), can you please put in your name somewhere.

Form/manipulator advanced tutorial?

2006-10-05 Thread dizoriented
Django is shining like a sun! Database API, templates, urlconf is absolutely gorgeous! Now after about 2 week intensive course i can say that it almost ideal tool for all my needs. Almost, because like a real sun, Django have it's own spots. The most frustrating and unintuitive part of it, IMO, is

Re: Does anybody solved the django project distribution problem?

2006-10-05 Thread ian
[EMAIL PROTECTED] wrote: > i find this thread from Rob: > Distribute Django program to run on a local computer > http://groups.google.com/group/django-users/browse_thread/thread/609f539387ba8296/a3ff0fc87da20bed > > i m trying to do the same thing.but the thread end with no result. Ola, You could

long-running process. how to do it?

2006-10-05 Thread Gábor Farkas
hi, i have the following "problem". in my django app, at some point i have to send out a LOT of emails (several thousand). this sending takes a long time, so an usual web based approach (click the send-button, send the mail, and show the response to the user) does not work, because the brows

Re: long-running process. how to do it?

2006-10-05 Thread Michal
Gábor Farkas wrote: > in my django app, at some point i have to send out a LOT of emails > (several thousand). > > ... > > so, are there any other, more elegant/simpler solutions? put data into DB table, and then have some script on cron which send emails on "background"? --~--~-~-

Re: Support for static content?

2006-10-05 Thread Adrian Holovaty
On 10/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Django's database-centric approach seems to make certain kinds of > mostly-static sites harder to build. For example, most of what I want > to put on my site is probably going to come from RestructuredText > source, but that source isn't

Re: long-running process. how to do it?

2006-10-05 Thread Carlos Yoder
I'd second that. Have a mailqueue table that you'll insert data to, and have the asynchronous cron process comb it regularly. Then, you can always build simple reports that check the status of said table. On 10/5/06, Michal <[EMAIL PROTECTED]> wrote: > > Gábor Farkas wrote: > > in my django ap

Re: global template tags

2006-10-05 Thread Tom Smith
I couldn't quite work out how to do that... there's not enough guidance... so I created a method in Views.py like this... def add_defaults(the_dict={}): the_dict['BASE_URL'] = "/burningahole/" the_dict['STATIC_URL'] = STATIC_URL ...etc return the_dict ...and

Manipulators problem -- anyone? please help!

2006-10-05 Thread Carlos Yoder
I'm really sorry to bug you like this, but I don't know what to do -- being a newbie to both Python and Django, debugging for me is more like 'aha, the problem should be around here', but nothing concrete about fixing! If anyone has the time to read this, please lend me a hand. I know, I sound l

Admin templates: Fields of the Related object

2006-10-05 Thread Aidas Bendoraitis
Hello, advanced Djangoers! I would like to make sure, whether it is possible to override [URL #1] an admin template and to write such a template code that would show the fields of the related object in the editing form of the currently edited object (not in edit_inline mode). Let's say, if I hav

Re: long-running process. how to do it?

2006-10-05 Thread Gábor Farkas
Carlos Yoder wrote: > I'd second that. > > Have a mailqueue table that you'll insert data to, and have the > asynchronous cron process comb it regularly. Then, you can always > build simple reports that check the status of said table. hmm.. nice idea :) btw. would also the solution where i "ma

Re: Support for db declaration of "on cascade delete"?

2006-10-05 Thread plesur
Thanks for your response, Russell. To follow up on this part of the thread: Russell Keith-Magee wrote: >>> I don't believe you can. However, you can use sql or sqlall [1] to >>> output the table creation sql to a file for editing. For example: >>> >>> manage.py sqlall myapp > myapp.sql >> I was

Serialization on part of a model

2006-10-05 Thread Daniel Roseman
I'm trying to use the serialization feature to drive a javascript "selector" popup on my CMS. Basically, what I want to do is this: get an XML or JSON list of all the article names and headlines in a certain section. The serialization code is easy: -- from models.py: class Section(models.Model):

Re: Callable hooks for generic views after validation with no errors?

2006-10-05 Thread John Melesky
James Bennett wrote: > On 10/4/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: >> There is some documentation on how Django's signals system works and how >> to hook into it here: http://code.djangoproject.com/wiki/Signals > > I just went through and completely re-wrote that to cover signals in

Re: HTML entities

2006-10-05 Thread Holger Schurig
> ä -> ä > Ö -> Ö > ß -> ß Do you really need them? Theoretically, you can simply set And then you may use those characters literally. However, I'm not a browser expert and don't know if all modern browsers under the sun understand this. --~--~-~--~~~---~--~-

Re: long-running process. how to do it?

2006-10-05 Thread Carlos Yoder
>> Have a mailqueue table that you'll insert data to, and have the >> asynchronous cron process comb it regularly. Then, you can always >> build simple reports that check the status of said table. > > > hmm.. nice idea :) Also you can make that table as generic as possible, and use it for every p

Re: Manipulators problem -- anyone? please help!

2006-10-05 Thread RajeshD
Disclaimer: I may be totally off the track here but seeing your desperate plea, I thought I would share this anyway: AddManipulator is probably discarding your primary key coming from the POST. The user field, in your case, serves as a primary key (since it is defined as a OneToOneField). Try Cha

Re: Anal not Analog, Analysis: DB Question

2006-10-05 Thread Tom Smith
Well funnily enough, not that ... :-)It's just a usability thing that if you search for "anal".. you will not have in mind any of these... A Towpath Walks in Oxford: The Canal and River Thames Between Wolvercote and the City El Ventanal / The Wide Window (Series Of Unfortunate Events (Spanish))    

Re: Support for static content?

2006-10-05 Thread David Abrahams
Tim Chase <[EMAIL PROTECTED]> writes: >> Django's database-centric approach seems to make certain kinds >> of mostly-static sites harder to build. > [cut] >> Yes, Django is a framework, so I could build components that >> make this possible, but it seems to me that it should be a >> fundamental,

Re: Anal not Analog, Analysis: DB Question

2006-10-05 Thread Tom Smith
On 4 Oct 2006, at 17:09, Andy Dustman wrote:On 10/4/06, Tom Smith <[EMAIL PROTECTED]> wrote: If I am looking for titles like "Anal Sex" or "Being Anal" then howdo I construct this, ahem, query... to not return "Analysis" or"Analog"? Two options: If your database supports it, try a full-text search:

Re: long-running process. how to do it?

2006-10-05 Thread Corey Oordt
I wrote a daemonize method that can be called by the view to spawn a new process that executes your code.It is part of this thread:http://groups.google.com/group/django-users/browse_frm/thread/b36f4ca10a424161/c5131410e5d548b1?lnk=gst&q=daemonize&rnum=2#c5131410e5d548b1I'm happy to give you any oth

Re: Serialization on part of a model

2006-10-05 Thread RajeshD
Hi Daniel, As you've discovered, the built-in serializers require a Queryset of model objects. You could use the simplejson library directly on your "values" dictionary. Basically, 1. import simplejson 2. data = simplejson.dumps(your_dictionary_here) See the documentation at the top of this co

Re: Re: Callable hooks for generic views after validation with no errors?

2006-10-05 Thread James Bennett
On 10/5/06, John Melesky <[EMAIL PROTECTED]> wrote: > Does that mean it's ready for inclusion in the django docs tree? It > would be nice to get topics like this covered in the core documentation. If one of the committers thinks it's good enough, then by all means. I'll happily submit it in ReST

Re: Support for static content?

2006-10-05 Thread David Abrahams
"Adrian Holovaty" <[EMAIL PROTECTED]> writes: > If you just want to use the HTTP request/response part of Django, > there's no requirement that you need to use a database. > > All Django cares about is that your view functions return an > HttpResponse. What they do internally -- whether it's conn

Re: Support for static content?

2006-10-05 Thread Malcolm Tredinnick
On Thu, 2006-10-05 at 10:33 -0400, David Abrahams wrote: [...] > I don't think either of these approaches quite works for me. Maybe > "static content" is a misnomer here. The content needs to be > _generated_ but from files that are largely static. The > distinguishing characteristic is that th

Re: Re: Callable hooks for generic views after validation with no errors?

2006-10-05 Thread Malcolm Tredinnick
Hey James, On Thu, 2006-10-05 at 10:12 -0500, James Bennett wrote: > On 10/5/06, John Melesky <[EMAIL PROTECTED]> wrote: > > Does that mean it's ready for inclusion in the django docs tree? It > > would be nice to get topics like this covered in the core documentation. > > If one of the committe

Auto-archive lists

2006-10-05 Thread seemant
Hi All, So, on the right column of http://www.djangoproject.com/weblog/ that page, we see an index of archived posts, going back 12 months or so. And so I thought I'd check out the template: http://code.djangoproject.com/browser/djangoproject.com/django_website/templates/base_weblog.html but th

Re: Auto-archive lists

2006-10-05 Thread James Bennett
On 10/5/06, seemant <[EMAIL PROTECTED]> wrote: > but the template (and adrian's commit message) seem to imply that that > list is generated manually. Is there no construct in Django that will > auto-gen a link list like that? You could write a template tag to do it pretty easily, the database lo

Re: Auto-archive lists

2006-10-05 Thread Grigory Fateyev
Hello seemant! On Thu, 05 Oct 2006 15:34:17 - you wrote: > > Hi All, > > So, on the right column of http://www.djangoproject.com/weblog/ that > page, we see an index of archived posts, going back 12 months or so. > > And so I thought I'd check out the template: > http://code.djangoproject.

Re: Auto-archive lists

2006-10-05 Thread RajeshD
Hi Seemant, There's no single construct that would do all that for you. But there are a few handy ways that you could consider: 1. Pass the distinct list of months in 'extra_context' to the generic view date_based.archive_index and use that list in your template. 2. The generic view date_based.

Re: long-running process. how to do it?

2006-10-05 Thread Martin Winkler
Hi Gabor, There is also the possibility to use the "at" daemon instead of cron. e.g. at now "/var/foo/barbaz.py" of course the user has to have permissions to use the at command, and the atd daemon must be running. br, Martin Am Thu, 05 Oct 2006 16:02:42 +0200 schrieb Gábor Farkas <[EMAIL PRO

Apache authentication: AttributeError: 'module' object has no attribute 'auth'

2006-10-05 Thread [EMAIL PROTECTED]
Hello. I'm trying to get Apache to authenticate users using Django's user database but I'm getting the above error (the whole apache error log is at the bottom of the message). I've set up my project and created users using the Django development server so the database connection is working from

Re: HTML entities

2006-10-05 Thread Dirk Eschler
Am Donnerstag, 5. Oktober 2006 14:22 schrieb Malcolm Tredinnick: > Python has an htmlentitydefs module and you can use that to convert > unicode characters into the appropriate HTML entities. > > Django does not do anything like this by default, because it assumes > that you are only ever going to

Re: HTML entities

2006-10-05 Thread Dirk Eschler
Am Donnerstag, 5. Oktober 2006 16:04 schrieb Holger Schurig: > > ä -> ä > > Ö -> Ö > > ß -> ß > > Do you really need them? Theoretically, you can simply set > > > > And then you may use those characters literally. > > However, I'm not a browser expert and don't know if all modern > browsers un

Re: If drop the database (dropdb ) and rmdir the directory, is that it?

2006-10-05 Thread carlwenrich
thanks. Malcolm Tredinnick wrote: > On Tue, 2006-10-03 at 19:34 -0700, carlwenrich wrote: > > In other words, is there anything else I need to do to remove a project? > > Did you modify the web server configuration file anywhere? > > Otherwise, that should be all you need to do. > > Regards, > M

Does the template system allow nested for loops?

2006-10-05 Thread carlwenrich
And if so, how do you refer to the loop counters? --~--~-~--~~~---~--~~ 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 gro

Override automatic manipulators

2006-10-05 Thread berto
Hello, Is there a way to override the automatic manipulators given by: MyModel.AddManipulator() MyModel.ChangeManipulator() I am trying to do something like this: I have the following models: class EntryType(models.Model): name = models.CharField() class Entry(models.Model): subject = mo

Caching weirdness (very tricky question)

2006-10-05 Thread Tom Smith
I am trying to get the best out of the caching abilities of Django but I have unusual needs...And the caching is showing unusual behaviour... When I added caching... a url like this /x/y/z/ returned results OK... but I wanted the cache to work for MOST pages but not ones where some person

Re: ForeignKey field with null = True and blank = True

2006-10-05 Thread Andy Dustman
On 10/4/06, Seemant Kulleen <[EMAIL PROTECTED]> wrote: > Hi All, > > Now I'm at ForeignKey funkiness. So I have the Services model which > has a ForeignKey field to the Sermon model. The funny thing is that > if I choose a sermon object when I first create a new service object, > all is well. I

Re: Does the template system allow nested for loops?

2006-10-05 Thread RajeshD
Yes, you can have nested loops. To access the self and parent loop counters see: http://www.djangoproject.com/documentation/templates/#for --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To po

Re: Auto-archive lists

2006-10-05 Thread Steven Armstrong
On 10/05/06 17:34, seemant wrote: > Hi All, > > So, on the right column of http://www.djangoproject.com/weblog/ that > page, we see an index of archived posts, going back 12 months or so. > > And so I thought I'd check out the template: > http://code.djangoproject.com/browser/djangoproject.com/d

Re: Pydev and Django

2006-10-05 Thread Josh Trutwin
On Mon, 02 Oct 2006 21:42:34 - "fabiofz" <[EMAIL PROTECTED]> wrote: > For those interested... Just wanted to post that I've recently > covered a little how-to on configuring pydev to work with django > http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with-django.html Thanks! - pyd

Re: Pydev and Django

2006-10-05 Thread Łukasz Langa
Josh Trutwin: > On Mon, 02 Oct 2006 21:42:34 - > "fabiofz" <[EMAIL PROTECTED]> wrote: > > >> For those interested... Just wanted to post that I've recently >> covered a little how-to on configuring pydev to work with django >> http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with

Re: Manipulators problem -- anyone? please help!

2006-10-05 Thread gabor
Carlos Yoder wrote: > I'm really sorry to bug you like this, but I don't know what to do -- > being a newbie to both Python and Django, debugging for me is more > like 'aha, the problem should be around here', but nothing concrete > about fixing! > hi, could you also post your view code? gabor

Can I pre-populate fields in the admin interface?

2006-10-05 Thread carlwenrich
Models: --- class Week(models.Model): beginning = models.DateField(core=True) def __str__(self): return str(self.beginning) class Admin: pass class Day(models.Model): week = models.ForeignKey(Week, edit_inline=models.TABULAR, num

Re: Does the template system allow nested for loops?

2006-10-05 Thread carlwenrich
thanks much. --~--~-~--~~~---~--~~ 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] F

Re: Serialization on part of a model

2006-10-05 Thread Daniel Roseman
RajeshD wrote: > Hi Daniel, > > As you've discovered, the built-in serializers require a Queryset of > model objects. > > You could use the simplejson library directly on your "values" > dictionary. > > Basically, > 1. import simplejson > 2. data = simplejson.dumps(your_dictionary_here) > Thanks

Re: Apache authentication: AttributeError: 'module' object has no attribute 'auth'

2006-10-05 Thread RajeshD
Hi Stefan, What version of Apache and mod_python are you using? -Raj --~--~-~--~~~---~--~~ 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 unsu

Re: Form/manipulator advanced tutorial?

2006-10-05 Thread Eric Florenzano
I agree, this is one aspect of Django that I simply don't understand even to this day.  In my app, I have just manually checked each $POST or $GET variable that I'm expecting, which is definitely not Django-esque.  A tutorial would be nice, although I realize how busy you all must be.On 10/5/06, Er

Re: Caching weirdness (very tricky question)

2006-10-05 Thread RajeshD
Hi, Right, the CacheMiddleware does not cache requests that have GET or POST parameters. You have two options: 1. Incorporate the page number in your request PATH (what you thought of as the URL) 2. Use low level caching in your view to cache the Queryset objects by page number. See: http://ww

Re: HTML entities

2006-10-05 Thread Ivan Sagalaev
Dirk Eschler wrote: > In theory i can just use utf-8, but what if one participant in the line (os, > db, browser, whatever) can't handle it? Talking about client side, only very old browsers can't handle utf-8 (NN4 and IE4 can). Same goes for email clients. And even such simple and 'legacy'

Re: Does anybody solved the django project distribution problem?

2006-10-05 Thread Rob Hudson
I haven't solved the problem. For now it's on the back burner. We'll need to find a solution to this eventually. As a fall back we can always wrap up our Django app in an installer (NSIS) and launch it locally. But it would be super nice if it were as simple as a py2app or py2exe solution. On

Re: 2 ways to render HTML snippet, which is preferred?

2006-10-05 Thread Rob Hudson
It's looking like option #2 might be best for my case... I'd like make one general method to handle the building of the question context and depending on the question type render one template snippet vs another. Since inclusion_tags are tied to a template filename, this isn't going to work. -Ro

Re: Apache authentication: AttributeError: 'module' object has no attribute 'auth'

2006-10-05 Thread Graham Dumpleton
[EMAIL PROTECTED] wrote: > Hello. I'm trying to get Apache to authenticate users using Django's > user database but I'm getting the above error (the whole apache error > log is at the bottom of the message). > > I've set up my project and created users using the Django development > server so the

Re: Serialization on part of a model

2006-10-05 Thread Deryck Hodge
Hi, Daniel. > > As you've discovered, the built-in serializers require a Queryset of > > model objects. > > > > You could use the simplejson library directly on your "values" > > dictionary. I submitted http://code.djangoproject.org/ticket/2701 which provides a small patch to limit by field for

Re: Support for db declaration of "on cascade delete"?

2006-10-05 Thread Russell Keith-Magee
On 10/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > However, you shouldn't be having any problems with foreign key > > constraints. The model creation process should be able to identify and > > avoid any problems with forward declared foreign key constraints. > > This is what I would gu

Re: Relevance

2006-10-05 Thread Beau Hartshorne
On 4-Oct-06, at 6:45 PM, Andy Dustman wrote: > Oh, *that's* interesting. It's not really execution of the query > that's causing the problem but the debug code that retains all > executed queries. Although the execution could be raising the same > exception: The part we are seeing above is in a f

Re: Form/manipulator advanced tutorial?

2006-10-05 Thread Russell Keith-Magee
On 10/5/06, dizoriented <[EMAIL PROTECTED]> wrote: > Django is shining like a sun! Database API, templates, urlconf is absolutely > gorgeous! Now after about 2 week intensive course i can say that it almost > ideal tool for all my needs. Glad you like it. > Almost, because like a real sun, Djang

Re: Support for db declaration of "on cascade delete"?

2006-10-05 Thread Greg Plesur
Thanks - I'll try this out on a fresh DB. You're right that I'm running sqlall on an already populated database. I'll post back if it looks like there was a real bug here. Thanks again for all of your help, Greg Russell Keith-Magee wrote: > On 10/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> w

Re: HTML entities

2006-10-05 Thread Malcolm Tredinnick
On Thu, 2006-10-05 at 18:24 +0200, Dirk Eschler wrote: > Am Donnerstag, 5. Oktober 2006 14:22 schrieb Malcolm Tredinnick: > > Python has an htmlentitydefs module and you can use that to convert > > unicode characters into the appropriate HTML entities. > > > > Django does not do anything like this

Re: Form/manipulator advanced tutorial?

2006-10-05 Thread Malcolm Tredinnick
On Fri, 2006-10-06 at 08:32 +0800, Russell Keith-Magee wrote: > On 10/5/06, dizoriented <[EMAIL PROTECTED]> wrote: > > Django is shining like a sun! Database API, templates, urlconf is absolutely > > gorgeous! Now after about 2 week intensive course i can say that it almost > > ideal tool for all

Re: Serialization on part of a model

2006-10-05 Thread Malcolm Tredinnick
Hey Deryck, On Thu, 2006-10-05 at 19:00 -0500, Deryck Hodge wrote: > Hi, Daniel. > > > > As you've discovered, the built-in serializers require a Queryset of > > > model objects. > > > > > > You could use the simplejson library directly on your "values" > > > dictionary. > > I submitted http://

Re: Pydev and Django

2006-10-05 Thread Malcolm Tredinnick
On Thu, 2006-10-05 at 20:48 +0200, Łukasz Langa wrote: > Josh Trutwin: > > On Mon, 02 Oct 2006 21:42:34 - > > "fabiofz" <[EMAIL PROTECTED]> wrote: > > > > > >> For those interested... Just wanted to post that I've recently > >> covered a little how-to on configuring pydev to work with djang

How do I add a unique constraint to a table column?

2006-10-05 Thread carlwenrich
in a model definition --~--~-~--~~~---~--~~ 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 PRO

Re: How do I add a unique constraint to a table column?

2006-10-05 Thread Adrian Holovaty
On 10/5/06, carlwenrich <[EMAIL PROTECTED]> wrote: > in a model definition Hi carlwenrich, A short question deserves a short answer: Add unique=True to your field. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received th

Re: How do I add a unique constraint to a table column?

2006-10-05 Thread Carl Wenrich
thanksAdrian Holovaty <[EMAIL PROTECTED]> wrote: On 10/5/06, carlwenrich wrote:> in a model definitionHi carlwenrich,A short question deserves a short answer: Add unique=True to your field.Adrian-- Adrian Holovatyholovaty.com | djangoproject.com --~--~-~--~~~---~--~--

Re: Support for static content?

2006-10-05 Thread Adrian Holovaty
On 10/5/06, David Abrahams <[EMAIL PROTECTED]> wrote: > So the idea is to map certain URLs into that view, have the view parse > the URL to find the files in the SVN working copy that it should use > to generate the page, use those files to generate a data structure on > which the template can ope

Django documentation search bar plugin for Firefox

2006-10-05 Thread Noah
I'm always searching the Django docs, so I decided to make a search bar plugin for Firefox so that I don't have to go to the Django documentation page in order to search the documentation. You can pick it up at: http://noah.itgoesclick.com/django-docs-search/ --~--~-~--~~--

Re: Django documentation search bar plugin for Firefox

2006-10-05 Thread Justin
Thanks, that's going to be really useful. On Oct 5, 10:21 pm, "Noah" <[EMAIL PROTECTED]> wrote: > I'm always searching the Django docs, so I decided to make a search > bar plugin for Firefox so that I don't have to go to the Django > documentation page in order to search the documentation. > > Yo

Re: Callable hooks for generic views after validation with no errors?

2006-10-05 Thread wam
James Bennett wrote: > For getting access to the object, I believe that when the 'post_save' > dispatcher signal is sent after saving, one of the included attributes > of the signal is the object itself. > Thanks for the updated (and very much expanded) documentation on django signals. I see how

Re: Does anybody solved the django project distribution problem?

2006-10-05 Thread [EMAIL PROTECTED]
I've used something like this before (in urls.py), which uses the runserver to set it up (non-threaded of course, but it's not too much of a problem for a single user on localhost): # Serve files # - if file_server is None, then we get Django to try to do # it out of /files anyone using this o

Re: Django documentation search bar plugin for Firefox

2006-10-05 Thread Noah
No problem, please pass the link on to your friends. --~--~-~--~~~---~--~~ 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

Re: Pydev and Django

2006-10-05 Thread olive
Fabio, I'm using Django 0.95 and the console says : manage.py: error: no such option: --noreload Do I need a fresh SVN copy ? Olivier. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: Manipulators problem -- anyone? please help!

2006-10-05 Thread Carlos Yoder
Raj, thanks a lot for your reply! It really *is* a tight situation, especially since I can only reproduce the error at Bluehost... so debugging is not simple, and definitely not fast. I believe the user field used to be called "user" first, and later I changed to user_id or something, but honest