Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Max Battcher
Eugene Lazutkin wrote: Look at Dojo. I did a small how-to on creating widgets here: http://lazutkin.com/blog/2005/dec/24/live-filtering/. Some people, who read it, missed my point: it was not about Ajax functionality (you can do it with any library), it was about creation of self-contained

image field update impossible.

2006-01-25 Thread [EMAIL PROTECTED]
Hello i created a foo model to expose the problem, from django.core import meta # Create your models here. class Aclass(meta.Model): question = meta.CharField(maxlength=200) img= meta.ImageField('Attach Image', upload_to='postimgs', blank=True) class META: admin =

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Eugene Lazutkin
Ben Bangert wrote: Eugene Lazutkin wrote: A lot of people who use list boxes, radio buttons, and other widgets don't know X11/Win32 graphics APIs and event systems. My point is there are many ways to minimize exposure to js. Agreed, I have yet to see anyone come up with clear cases for

Cache issue on Dreamhost?

2006-01-25 Thread Chase
I recently installed Django on Dreamhost, following the great instructions here: http://wiki.dreamhost.com/index.php/Django. The installation worked fine, but any change I make to an app takes hours to register on the Web. It seems to be an fcgi or caching problem, possibly not reloading

Re: magic_removal table update

2006-01-25 Thread Max Battcher
Jason Davies wrote: ALTER TABLE auth_groups ALTER id SET DEFAULT nextval('public.auth_group_id_seq'::text); This was the peculiar incantation I was looking for, thanks. Now I just have a non-fatal, non-blocking error from the django_content_types table... -- --Max Battcher--

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
Eugene Lazutkin wrote: > A lot of people who use list boxes, radio buttons, and other widgets > don't know X11/Win32 graphics APIs and event systems. My point is there > are many ways to minimize exposure to js. Agreed, I have yet to see anyone come up with clear cases for widgets within web

Re: rss problem

2006-01-25 Thread Adrian Holovaty
On 1/25/06, danylo <[EMAIL PROTECTED]> wrote: > This is what I'm getting: > > > > http://www.foo.bar > > http://www.foo.bar > Hey Dan, You need to create templates for the title and description. If your feed's slug is foo, these templates should be called "feeds/foo_title.html" and

Re: several django questions, models, apache

2006-01-25 Thread [EMAIL PROTECTED]
removing the trailing ^ is the only way so far, here the httpd where i took ofthe / after "/cefinban and added a ServerName then typing in the browser http://127.0.0.1/cefinban/admin/ if url.py link is (r'^admin/', include('django.contrib.admin.urls.admin')), give me a 404 error The

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Eugene Lazutkin
Ben Bangert wrote: I think its actually rather high level, in that you don't really need to know any Javascript what-so-ever. Obviously not knowing any Javascript will be a limitation to exactly what you can do, but the helpers and RJS meet a lot of people's needs with a very minimal amount of

rss problem

2006-01-25 Thread danylo
As part of my first steps into Python and Django, I'm trying to generate an RSS feed for a group of individual writers. I'm finally able to generate an RSS feed, but it's incorrect. This is what I'm getting: http://www.foo.bar http://www.foo.bar The link and guid are correct, but I'm not

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
I'd think the most reasonable approach would be to have the frameworks reference the module. Myghty doesn't require an API, as the names are just imported and attached to a template global helper object, ie, <% h.observe_field(.) %>. TurboGears may likely require a bunch of API's for the

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ian Holsman
That sounds like a great idea (working together), and personally I'm not too hung up about which AJAX library I use, as long as it can do the job (which most seem too for my simple things) I like the idea of having one way of doing this across frameworks, it makes them all simpler to learn and

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
For those concerned about the fact that these helpers use ProtoType and Scriptaculous, it should be noted that Mochikit 1.3 will include equivalent functionality. This should make it seamless to use Mochikit instead with no or minimal changes to the helper functions. There's several people now

Re: flash

2006-01-25 Thread Eugene Lazutkin
[EMAIL PROTECTED] wrote: I have problem is that my flash is not working when i used Django i am using internet explorer i don't know why althought i put my swf file is in the media folder 1st of all: test with your browser that all required files are accessible. E.g., enter .swf's url and

flash

2006-01-25 Thread mary . adel
I have problem is that my flash is not working when i used Django i am using internet explorer i don't know why althought i put my swf file is in the media folder Mary Adel Software Developper ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis email: [EMAIL PROTECTED] Office: +202 -

repository with apps

2006-01-25 Thread Tim Terlegård
It would be nice with an official repository with django apps. There may very well exist 1000 roughly equivalent poll app implementations out there already. Wouldn't it be good if we had a repository of reusable common apps? I think it would be awesome. Not sure who should get commit access and

Re: meta.Admin 'fleids' option

2006-01-25 Thread [EMAIL PROTECTED]
Big thanks! I'm found error, misprint in field's names..

Re: Template cache which speeded up my setup 25 times

2006-01-25 Thread Adrian Holovaty
On 1/25/06, hugo <[EMAIL PROTECTED]> wrote: > You might have written this as a simple template loader - and used the > basic template loaders as starting point, just overloading the > get_template functionality. That way you would be able to use the > standard render_to_xxx functions - you only

Re: magic_removal table update

2006-01-25 Thread Adrian Holovaty
On 1/25/06, Max Battcher <[EMAIL PROTECTED]> wrote: > I'm living on the bleeding edge (just migrated to rev. 2123) with my > current development, and followed the suggested ALTER TABLE commands > from the wiki page, and though I can read from the data (all of the > views work correctly), I can't

Template cache which speeded up my setup 25 times

2006-01-25 Thread WSobczuk
Hey, On my hosts doing several hundred requests per second the load was at 100 already, and then Adrian suggested to cache the templates. So I implemented a simple cache (which is now a hack but perhaps it will be included in Django soon) which brought the load down to 5 - so a lot of speedup

Re: magic_removal table update

2006-01-25 Thread Jason Davies
Max Battcher wrote: > I'm living on the bleeding edge (just migrated to rev. 2123) with my > current development, and followed the suggested ALTER TABLE commands > from the wiki page, and though I can read from the data (all of the > views work correctly), I can't save because all of the

Re: magic_removal table update

2006-01-25 Thread Andreas Stuhlmüller
On 1/25/06, Max Battcher <[EMAIL PROTECTED]> wrote: > At this point I'm a bit stumped on how to properly do this. Is there an > easy way to resync the sequences in PostgreSQL that I've overlooked? Did you try "django-admin.py sqlsequencereset"? This used to work for me. Andreas

magic_removal table update

2006-01-25 Thread Max Battcher
I'm living on the bleeding edge (just migrated to rev. 2123) with my current development, and followed the suggested ALTER TABLE commands from the wiki page, and though I can read from the data (all of the views work correctly), I can't save because all of the sequences are now out of sync.