Upload images to rich-editor in admin interface

2006-08-19 Thread Scater
I have simple model: class Entry(models.Model): ... body = models.TextField() ... And i use rich-editor like TinyMCE or FCKEditor etc in admin-interface. for edit a field "body" I need functionality of uploading images for user's computer to this editor directly. I understand that decision depend

Re: Manipulators Question

2006-08-19 Thread mediumgrade
I like this solution: http://code.djangoproject.com/wiki/CookBookManipulatorWithPostpopulatedFields --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

Re: notification when an object is deleted

2006-08-19 Thread medhat
medhat wrote: > Ian Clelland wrote: > > > 3. I am still looking for an answer to my original question at the > > > beginning of this discussion. What if I don't want to delete the > > > tickets but assign them to another user? > > > > Was that the original question? > > > > All I saw was: > > > >

Re: notification when an object is deleted

2006-08-19 Thread medhat
Ian Clelland wrote: > > 3. I am still looking for an answer to my original question at the > > beginning of this discussion. What if I don't want to delete the > > tickets but assign them to another user? > > Was that the original question? > > All I saw was: > > On 8/17/06, medhat <[EMAIL PROTEC

Re: manage.py runserver throws error message

2006-08-19 Thread Malcolm Tredinnick
On Sat, 2006-08-19 at 15:46 -0400, Cole Tuininga wrote: > I finally figured out the problem. In my case, I had decided to name > the project something besides "mysite" in this case, I decided to > name it "site". Naming it something different than "site" solved the > problem, so I'm making

Re: libraries for common tasks, tinymce, mochikit

2006-08-19 Thread Malcolm Tredinnick
Hi Dirk, On Sat, 2006-08-19 at 21:17 +0200, [EMAIL PROTECTED] wrote: > Hi all, > > I read a lot of the threads about modularity apps, AJAX support in django and > why not, secure context_processors and so on. > > I made today 3 libraries from lot of sources I found out there in the web: > > C

Re: real-world Django examples

2006-08-19 Thread Eugene Lazutkin
Baurzhan Ismagulov wrote: > Hello all, > > I'm considering using Django for my site. Design philosophy, overview, > tutorial, and GvR comments are promising, but I would be happy to see > one last thing before starting: a real site with sources as a tarball, > just to get a feeling how the whole

Re: real-world Django examples

2006-08-19 Thread Pedro Lima
Hello Baurzhan, Two more sites with nice source. Limodou: http://www.djangocn.org/help/ Luke Plant: http://lukeplant.me.uk/blog.php?id=1107301641 Hope to see you around. pvl --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Interacting with models from the CLI

2006-08-19 Thread Bryan Chow
See: http://groups.google.com/group/django-users/browse_thread/thread/51827a2a40e5262e Bryan :) On 8/19/06, Jon Atkinson <[EMAIL PROTECTED]> wrote: > Hi, > > I need to schedule some operations on my database to happen at a > certain time each day. I'm tackling this by using cron, so ideally I'

Re: real-world Django examples

2006-08-19 Thread Ian Holsman
On 20/08/2006, at 8:13 AM, Jay Parlar wrote: > > Ian Holsman makes the source of zyons.com available. this powers a couple of different websites: - http://gypsyjobs.com and - http://garden-gossip.com being 2 examples. regards Ian > > As well, Jeff Croft makes the source for lost-theories.com

Diamanda wiki v.0.0.2

2006-08-19 Thread [EMAIL PROTECTED]
This a v.0.0.2 release of my wiki :) Current features - Add, Edit/Achive a Page - Diff between all changesets, restore old changeset - Textile markup - Permission for logged in and anonymous. Anonymous perms are set in settings.py ANONYMOUS_CAN_EDIT=True - can edit pages ANONYMOUS_CAN_ADD=True - c

Re: real-world Django examples

2006-08-19 Thread Jay Parlar
Ian Holsman makes the source of zyons.com available. As well, Jeff Croft makes the source for lost-theories.com available (http://www2.jeffcroft.com/2006/jun/06/lost-theories-with-source-code/) Lost-theories.com is a bit smaller in scope, so I'd recommend looking at that too. Jay P. --~--~

Re: real-world Django examples

2006-08-19 Thread [EMAIL PROTECTED]
there are few example applications on django wiki - http://code.djangoproject.com/ with source code. You may also want to check out django powered sites, a list is here: http://code.djangoproject.com/wiki/DjangoPoweredSites --~--~-~--~~~---~--~~ You received this

real-world Django examples

2006-08-19 Thread Baurzhan Ismagulov
Hello all, I'm considering using Django for my site. Design philosophy, overview, tutorial, and GvR comments are promising, but I would be happy to see one last thing before starting: a real site with sources as a tarball, just to get a feeling how the whole looks like. I'm starting with the tuto

Re: Interacting with models from the CLI

2006-08-19 Thread James Bennett
On 8/19/06, Jon Atkinson <[EMAIL PROTECTED]> wrote: > I've tried also writing a stand-alone script and importing > the necessary modules, but I'm having problems with > DJANGO_SETTINGS_MODULE not being set (it seems that django does some > magic which is beyond me at this point) - am I approaching

Interacting with models from the CLI

2006-08-19 Thread Jon Atkinson
Hi, I need to schedule some operations on my database to happen at a certain time each day. I'm tackling this by using cron, so ideally I'd like to be able to write a stand-alone python script which will do this. My first though would be to pass a script to ./manage.py shell, (something like ./m

Re: libraries for common tasks, tinymce, mochikit

2006-08-19 Thread ToddG
I think this sounds like an ideal solution to handling common needs and requests that don't belong or aren't wanted in django core/contrib. Over time if certain libs or functions prove esp. useful they could be "promoted" to the distribution if wanted (by core committers). Just because something

Re: manage.py runserver throws error message

2006-08-19 Thread Cole Tuininga
I finally figured out the problem. In my case, I had decided to name the project something besides "mysite" in this case, I decided to name it "site". Naming it something different than "site" solved the problem, so I'm making the assumption that I was causing some sort of name collision?

OT: got api

2006-08-19 Thread Steven Armstrong
Just found something I thought might also be useful for some of you folks :) http://gotapi.com/ No python api yet, but lot's of other stuff useful stuff for web developers. cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

libraries for common tasks, tinymce, mochikit

2006-08-19 Thread dummy
Hi all, I read a lot of the threads about modularity apps, AJAX support in django and why not, secure context_processors and so on. I made today 3 libraries from lot of sources I found out there in the web: Common Library task: libs.common.context_processors.media_url libs.common.context_proce

Re: notification when an object is deleted

2006-08-19 Thread Ian Clelland
On 8/18/06, medhat <[EMAIL PROTECTED]> wrote: > First, I am using sqlite... and I checked the manage.py sqlall and it > had no "on delete cascade" at all. So, is this done programmatically in > python to simulate the same effect? Yes, as James mentioned, it is done programmatically; Django simula

Re: Newbie generic view query

2006-08-19 Thread boglet
Ivan Sagalaev wrote: > What you're seeing is probably a distinction between 'null=True' and > 'blank=True' in field's parameters. The former means "allow NULL in a db > table" and the latter means "not required when a default manipulator > does form validation". Looks like you didn't include the

Re: Newbie generic view query

2006-08-19 Thread Ivan Sagalaev
boglet wrote: > So, the only thing that I can think is that generic views require all > fields for a model to be filed in. Is this correct? No, views (generic or custom) has nothing to do with this. This is the effect of validation by automatic manipulators[1] (that incidentally are indeed us

Re: Blog URLs - defined in Template or elsewhere?

2006-08-19 Thread keukaman
Thanks again for your help Malcom. I hadn't defined the method in my model, so it was only picking up the partial path. I found what needs to be done. Malcolm Tredinnick wrote: > On Fri, 2006-08-18 at 19:59 -0700, keukaman wrote: > > I'm unclear how to generate the urls for a blog application I

Newbie generic view query

2006-08-19 Thread boglet
Hi, I've created a model with 9 fields, 3 of which I need to be filled in at object create time, the other 6 filled in at a later date. I'm using the create_update.create_object generic view and everything seems to be working up to a point. My template was just asking for the 3 mandatory fields

Re: Blog URLs - defined in Template or elsewhere?

2006-08-19 Thread Julio Nobrega
Sometimes get_absolute_url() has errors and it doesn't show on the template, and it returns nothing. Fire up the dev server and throw some prints inside the method to see if everything you're suppose to return is ok. On 8/18/06, keukaman <[EMAIL PROTECTED]> wrote: > > When I do the same in

Re: Django Blog software

2006-08-19 Thread Matthias Urlichs
David Larlet wrote: > BTW, it's really easy to make your own. > Sure it is. I mean, yeah, a quick and dirty blog is child's play with Django, *but* then you want a sensible CSS structure for it, and a cached RSS feed, and trackback (both directions please) and pingback (ditto) and "old-style" com