Re: Announcing Tabblo, a Django app

2006-05-18 Thread PythonistL
I wanted to try it out but I can not sing up. --~--~-~--~~~---~--~~ 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,

Re: How debug django 0.95 in windows + komodo

2006-05-18 Thread Jeremy Dunck
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Any idea? > > At least I want to know how use the integrated Komodo python shell... i > like colors :) I recently saw this: http://www.petersblog.org/node/1051 but I haven't tried it.

Re: Blocking in views?

2006-05-18 Thread Malcolm Tredinnick
On Thu, 2006-05-18 at 17:09 -0400, Jay Parlar wrote: > For the app I'm working on, the user uploads a file, the server does a > whole bunch of work on it, and then returns the result. > > This work takes 10-20 seconds to do. It's ok if the user has to wait > 10-20 seconds for the result to come

Re: How debug django 0.95 in windows + komodo

2006-05-18 Thread [EMAIL PROTECTED]
Any idea? At least I want to know how use the integrated Komodo python shell... i like colors :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: no INSTALLED_APPS

2006-05-18 Thread Don Arbow
On May 18, 2006, at 3:22 PM, Jeremy Dunck wrote: > Also, I tried to repro this issue, but I can't find a 2.3 Django egg > for download (as in the initial Django-0.91-py2.3.egg ). > Mac OS X python installs have some sort of weird thing going on. I originally downloaded 0.91 and ran setup.py

Re: no INSTALLED_APPS

2006-05-18 Thread Joseph Kocherhans
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > same thing: > > File > "/Users/Stirman/Development/django_src/django/bin/django-admin.py", > line 2, in ? > from django.core import management > ImportError: No module named django.core > > Man, didn't know we would be jumping

Re: no INSTALLED_APPS

2006-05-18 Thread [EMAIL PROTECTED]
same thing: File "/Users/Stirman/Development/django_src/django/bin/django-admin.py", line 2, in ? from django.core import management ImportError: No module named django.core Man, didn't know we would be jumping down the rabbit hole on this one... but I do really appreciate the help.

Re: no INSTALLED_APPS

2006-05-18 Thread Joseph Kocherhans
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I think we're getting closer... fixed my .bashrc file, both the PATH > and PYTHONPATH var's as follows: > > PATH=$PATH:$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$HOME/Development/django_src/django/bin >

Re: no INSTALLED_APPS

2006-05-18 Thread Jeremy Dunck
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > now when I execute "django-admin.py startproject mysite" I get: I assume django-admin.py is running your default python (not 2.4). In that python: import sys print sys.path and give us those results. :)

Re: no INSTALLED_APPS

2006-05-18 Thread [EMAIL PROTECTED]
I think we're getting closer... fixed my .bashrc file, both the PATH and PYTHONPATH var's as follows: PATH=$PATH:$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$HOME/Development/django_src/django/bin

Re: no INSTALLED_APPS

2006-05-18 Thread Jeremy Dunck
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Okay, my easy-install.pth only has one line now: > /Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg ... PYTHONPATH=$HOME/Library/Frameworks/Python.framework/Versions/2.4:$HOME/Development/django_src > > Does that help? When

Re: no INSTALLED_APPS

2006-05-18 Thread Joseph Kocherhans
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Okay, my easy-install.pth only has one line now: > /Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg > > I found my newer installation of django at: > ~/Development/django_src > > and my PYTHONPATH variable in .bashrc: >

Re: no INSTALLED_APPS

2006-05-18 Thread Jeremy Dunck
On 5/18/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > Open up the easy-install.pth file in your site-packages directory. > There should be a reference to the Django egg in it. Delete that line. > It's telling Python to use the Django .egg, but since you deleted the > .egg, it complains. Sorry for

Re: no INSTALLED_APPS

2006-05-18 Thread [EMAIL PROTECTED]
Oh, and, you may notice reference to two different versions of Python. I installed 2.4, but if I just type "python", I get 2.3.5. If I type python2.4, I get 2.4.3. Don't know if that matters at all? -stirman --~--~-~--~~~---~--~~ You received this message

Re: no INSTALLED_APPS

2006-05-18 Thread [EMAIL PROTECTED]
Okay, my easy-install.pth only has one line now: /Library/Python/2.3/site-packages/setuptools-0.6a9-py2.3.egg I found my newer installation of django at: ~/Development/django_src and my PYTHONPATH variable in .bashrc:

Re: no INSTALLED_APPS

2006-05-18 Thread Joseph Kocherhans
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Still the same error... maybe this is an indication that my svn install > didn't work as I thought it did. If I do have teh dev build of django, > where would I find it? That error is definitely related to the egg though. The newest

Re: no INSTALLED_APPS

2006-05-18 Thread [EMAIL PROTECTED]
Still the same error... maybe this is an indication that my svn install didn't work as I thought it did. If I do have teh dev build of django, where would I find it? Thanks again!!! -stirman --~--~-~--~~~---~--~~ You received this message because you are

Re: no INSTALLED_APPS

2006-05-18 Thread Jay Parlar
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > errr, kind of confused: > > /Library/Python/2.3/site-packages/Django-0.91-py2.3.egg/django/ > > The .egg is a directory with the django stuff in it? If I remove that > directory and try to start a django project, I get: > > Traceback

Re: no INSTALLED_APPS

2006-05-18 Thread Joseph Kocherhans
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > errr, kind of confused: > > /Library/Python/2.3/site-packages/Django-0.91-py2.3.egg/django/ > > The .egg is a directory with the django stuff in it? If I remove that > directory and try to start a django project, I get: I would have

Re: no INSTALLED_APPS

2006-05-18 Thread [EMAIL PROTECTED]
errr, kind of confused: /Library/Python/2.3/site-packages/Django-0.91-py2.3.egg/django/ The .egg is a directory with the django stuff in it? If I remove that directory and try to start a django project, I get: Traceback (most recent call last): File

Re: no INSTALLED_APPS

2006-05-18 Thread Jeremy Dunck
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > is it possible the newer > version of django is installed somewhere else and I'm using the old > version? Sure, just move the .egg file out of your site-packages directory. :) --~--~-~--~~~---~--~~ You

Re: no INSTALLED_APPS

2006-05-18 Thread [EMAIL PROTECTED]
>>> import django >>> django Looks like you're right, but I followed the instructions to use svn to get the dev build AFTER I installed 0.91 ... is it possible the newer version of django is installed somewhere else and I'm using the old version? Thanks! -stirman www.stirman.net

Re: no INSTALLED_APPS

2006-05-18 Thread Jeremy Dunck
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > And, the next command in the tutorial, python manage.py syncdb, > returns: > > Error: Your action, 'syncdb', was invalid. > Run "manage.py --help" for help. import django django.VERSION ? It sounds like you're running on an old version

Announcing Tabblo, a Django app

2006-05-18 Thread Ned Batchelder
Hey all, We've just launched a Django-based application for story-telling, focused on sharing photos: Tabblo.  We'd love for you to come and try it out.  Adrian has demonstrated his skill yet again by creating a nice tabblo about his visit to London: Moreno at Le Quecumbar, London. Django

Re: dojo

2006-05-18 Thread lcaamano
You should add these dojo info to the cookbook mentioned above. http://code.djangoproject.com/wiki/CookBookAdminTools -- lpc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: [solved] Could not load custom filter module

2006-05-18 Thread Facundo Casco
Facundo Casco wrote: > Hi, I'm tring to make custom filters but I can't make Django find my module > I get this error: > Could not load template library from django.templatetags.amx2_filters, > No module named amx2_filters > > The directory structure is: > ~/base/amx/templatetags/__init__py >

Re: Best way to do a dynamic sidebar?

2006-05-18 Thread Luke Plant
On Tuesday 16 May 2006 22:24, Jay Parlar wrote: > It feels like I should be able to define a template just for the > sidebar, and insert the content of that template into whatever > template is being rendered. I guess that the 'include' tag would do > that, but then I'd need to explicitly pass

Re: integrating complex SQL updates with manipulators?

2006-05-18 Thread Ivan Sagalaev
mazurin wrote: >if request.POST: >new_data = request.POST.copy() > > WHERE SHOULD THIS FUNCTIONALITY GO? # >moveOK = moveNode(item.id, new_data['parent']) > >errors = manipulator.get_validation_errors(new_data) > > Is it necessery that moveNode is

Re: Record is show in admin, not in view (0.95) Failure in inheriterance?

2006-05-18 Thread [EMAIL PROTECTED]
Ok Maybe out a warning in the docs? Is good idea then go for 1-1 relationships? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Tagging things

2006-05-18 Thread Malcolm Tredinnick
On Thu, 2006-05-18 at 12:48 +0200, Jesper Nøhr wrote: [...] > I was helped by Malcom on IRC, so the only decent thing to do, is to > post the solution here. [...] > You can call it like this: > > tags = ["foo","bar"] > > all = Contract.objects.from_tags(tags) > > What happens is that you

send_email problem

2006-05-18 Thread Russell Blau
I see that django.core.email was recently patched to use the DEFAULT_CHARSET setting to encode all outgoing email. This is a problem -- for my application, I want UTF-8 as my default charset for HttpResponses, but I need to be able to send mail in plain ASCII to communicate with a remote host.

Re: There is no v0.92 or v0.95 release of Django

2006-05-18 Thread Ted
The best solution would be just to release 0.92 today, as is (unless it is fatally flawed which it doesn't seem to be) People know that it is not a major release since it is still a 0.xx release so nobody will complain about a few minor bugs. It is important not to scare off potential users

Re: Multi-app project

2006-05-18 Thread Douglas Campos
the nice thing about django and its staff is that you always get some kind of "RTFM" :) Thanks for pointing this out On 5/18/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Thu, 2006-05-18 at 08:49 -0300, Douglas Campos wrote: > > I'm working at an audit system in django. > > > >

Re: Help please with get_absolute_url in admin and public pages

2006-05-18 Thread Paul Childs
Thanks everyone. --~--~-~--~~~---~--~~ 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

Re: dojo

2006-05-18 Thread va:patrick.kranzlmueller
just found out an easier way: forget nr. 3 and change AddRichTextEditing.js to this: document.write(''); document.write('dojo.require ("dojo.widget.Editor2");'); var AddEditor = { init: function() { var helptext = document.getElementsByTagName('p'); for

Re: Multi-app project

2006-05-18 Thread Malcolm Tredinnick
On Thu, 2006-05-18 at 08:49 -0300, Douglas Campos wrote: > I'm working at an audit system in django. > > There's a stupid question lying: Can I make models that use foreign > keys from other apps? > > like this > > myproject/app1/models.py: > Class AnyThing(models.Model): > a =

Multi-app project

2006-05-18 Thread Douglas Campos
I'm working at an audit system in django. There's a stupid question lying: Can I make models that use foreign keys from other apps? like this myproject/app1/models.py: Class AnyThing(models.Model): a = models.IntegerField(blah, blah) myproject/app2/models.py: Class AnyThang(models.Model):

Re: integrating complex SQL updates with manipulators?

2006-05-18 Thread mazurin
Hi, I'd like to clarify with some sample code. I hope this makes my question clearer. My question is about the line marked with an uppercase comment. Mikah # def modify(request, item_id): ''' View to modify a single node. ''' try: manipulator =

integrating complex SQL updates with manipulators?

2006-05-18 Thread mazurin
Hi, I'm currently implementing a table of nested sets using Django, based on Joe Celko's discussion of the subject. For those of you not familiar with it, the only really relevant part of the problem is that when you modify certain database fields, the corresponding fields in some other

Re: Trouble resolving URLs

2006-05-18 Thread Simon Johnston
Thanks to both Michael and Ivan - I spent all my time staring at the new urls file and not at the original project file :-( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: dojo

2006-05-18 Thread va:patrick.kranzlmueller
i guess you mean the editor widget: 1. drop dojo (kitchen sink) into /media/ (like /media/dojo) 2. add this script as AddRichTextEditing.js into /media/js/admin/ ### this script looks for the help text "Rich Text Editing" and replaces the textarea before with the dojo widget var AddEditor = {

Re: Tagging things

2006-05-18 Thread Jesper Nøhr
On 5/18/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: [...] I was helped by Malcom on IRC, so the only decent thing to do, is to post the solution here. I'll try to explain as well as I understand it. First some code: class Tags(models.Model): tag = models.CharField(maxlength = 50)

Re: dojo

2006-05-18 Thread olive
I use TinyMCE which is very good. There is an how-to in the Wiki at http://code.djangoproject.com/wiki/CookBookAdminTools --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Django and static files URLs

2006-05-18 Thread [EMAIL PROTECTED]
It looks very clear now! Driven by the simplicity of the tutorial, and by the buzz around how time-saving web frameworks are (in general, Django in particular), it took me a while to figure out that a bit of customization was sometimes necessary. Thanks Phil and Malcolm. Accédez au courrier

Re: Two lists generated by generic view on one page, impossible?

2006-05-18 Thread Kosmo
Now that was suprisingly easy, I just used the news view and imported the Events from the event app and called them both and called both of the apps and made a render_to_response with both of them in the news/index.html. I thought that there was much more work involved :| Thanks for the super

Re: Two lists generated by generic view on one page, impossible?

2006-05-18 Thread Malcolm Tredinnick
On Thu, 2006-05-18 at 00:03 -0700, Kosmo wrote: > Well, if that is the case, is there a good tutorial on making views > since I'm not so good with python yet. Don't worry. They're not so hard. Just keep in mind that if you are learning Django and Python simultaneously, you may have to backtrack

dojo

2006-05-18 Thread Mary Adel
hi all I am using magic removal i need to use text widget in my admin interface so can anyone tell me how i could do this Thanks, Mary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Two lists generated by generic view on one page, impossible?

2006-05-18 Thread Kosmo
Well, if that is the case, is there a good tutorial on making views since I'm not so good with python yet. Also, if I want to have a view that is not tied to any app, how do I define it in the urls.py file? --~--~-~--~~~---~--~~ You received this message because

Re: Two lists generated by generic view on one page, impossible?

2006-05-18 Thread Malcolm Tredinnick
On Wed, 2006-05-17 at 23:09 -0700, Kosmo wrote: > Like the subject says. > > I have a "news" app and "events" app and I need them both to list their > content on a page, generic view suits my needs just perfectly, but the > problem comes when I want two of them in one page. > > Do I need to

Two lists generated by generic view on one page, impossible?

2006-05-18 Thread Kosmo
Like the subject says. I have a "news" app and "events" app and I need them both to list their content on a page, generic view suits my needs just perfectly, but the problem comes when I want two of them in one page. Do I need to start writing my own views or can this be done with generic