Re: django - kit

2006-10-07 Thread zehi
http://www.webfaction.com/ is very cool including good screencast tutorials and support forums. They work with all 'hot' apps zehi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Re: Diamanda Wiki and MyghtyBoard Forum on SVN now

2006-10-07 Thread [EMAIL PROTECTED]
did you made any modifications to settings.py. It seems like diamandas/ aren't in your pythonpath (added in default settings.py). install.py adds default user group and some sample data. The group is "required", the rest is just a example --~--~-~--~~~---~--~~ You

Re: Diamanda Wiki and MyghtyBoard Forum on SVN now

2006-10-07 Thread Lucas Vogelsang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, If you refer to this: import sys sys.path.append('diamandas/') It's still in there. I'll try to add the group manually. Thanks for the help. Btw, is there already a webpage? lucas [EMAIL PROTECTED] wrote: > did you made any modifications to

Bad title alignment for short_description in Admin

2006-10-07 Thread Mario Graziosi
I have several fields with additional notes in my model classes, something similar to this: def notes(self): result = "some-string" ... formatting code ... return result notes.short_description = "My Notes" However when the title in short_description gets format

what about example of project ?

2006-10-07 Thread Marco Amato
Hi ! I am not a big programmer , and I will found usefull sample of code. So, what about add a list of app and project for example? I want no more than less that a tar.gz or a zip whit alots of code :D Thanks for everybody for read this idea MA. --~--~-~--~~~---~--

Re: Reload Admin interface after model changes

2006-10-07 Thread Dirk Eschler
Am Samstag, 7. Oktober 2006 02:57 schrieb Matt: > It is probably number 2. I'm using apache2 w/ mod_python. I'll check > when I'm back at work next. > > As for what I did to dump the old app, I deleted the application folder > and then recreated everything using manage.py startapp. > > Thanks for

Re: Diamanda Wiki and MyghtyBoard Forum on SVN now

2006-10-07 Thread [EMAIL PROTECTED]
Lawgon is hosting me but we need to finish the mod_python setup for the sites to work ok. When all will be working I'll post the links :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: what about example of project ?

2006-10-07 Thread Guillermo Fernandez Castellanos
Hi, Some examples here: http://groups.google.com/group/django-users/browse_thread/thread/5615ffe5707d9b92/de7eb2cd4060bad5?lnk=gst&q=code+examples&rnum=5#de7eb2cd4060bad5 Enjoy, G On 10/7/06, Marco Amato <[EMAIL PROTECTED]> wrote: > > Hi ! > > I am not a big programmer , and I will found usefu

Re: django - kit

2006-10-07 Thread David Sissitka
Another vote for WebFaction if you'd like to take the shared hosting route.-David SissitkaOn 10/7/06, zehi < [EMAIL PROTECTED]> wrote: http://www.webfaction.com/ is very cool including good screencasttutorials and support forums. They work with all 'hot' appszehi --~--~-~--~~---

Re: Bad title alignment for short_description in Admin

2006-10-07 Thread Malcolm Tredinnick
Hi Mario, On Sat, 2006-10-07 at 10:56 +0200, Mario Graziosi wrote: > I have several fields with additional notes in my model classes, > something similar to this: > > def notes(self): > result = "some-string" > ... formatting code ... > return result > > notes.s

Re: unable to find css when using '/'

2006-10-07 Thread hub-hub
A fragment of your config files can be of great help to know what is wrong. You can try something like having an alias for your media Alias /media /path/to/your/files and then adding a Location or LocationMatch where your disable mod_python SetHandler None # more directives here In thi

Re: Bad title alignment for short_description in Admin

2006-10-07 Thread Malcolm Tredinnick
On Sat, 2006-10-07 at 12:06 +0200, Mario Graziosi wrote: [...] > Yes: I'm trying to render "notes" contents (and I get them right), but > I can't get right their relative title (i.e. notes.short_description). > I'm using the standard Admin interfaces, no specific templates. > > Using the stand

Re: Bad title alignment for short_description in Admin

2006-10-07 Thread Mario Graziosi
Malcolm Tredinnick wrote: > On Sat, 2006-10-07 at 12:06 +0200, Mario Graziosi wrote: > [...] > >> Yes: I'm trying to render "notes" contents (and I get them right), but >> I can't get right their relative title (i.e. notes.short_description). >> I'm using the standard Admin interfaces, no sp

Ajax

2006-10-07 Thread Ramdas S
Hi,   .Aanyone integrated dojo or any other Ajax tool kit with admin interface. I need a simple Rich Text Box for the body editor fpr a blog. I tried TinyMCE. It is not working.   Thanks   Ramdas --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Bad title alignment for short_description in Admin

2006-10-07 Thread Mario Graziosi
Malcolm Tredinnick wrote: > On Sat, 2006-10-07 at 12:06 +0200, Mario Graziosi wrote: > [...] > >> Yes: I'm trying to render "notes" contents (and I get them right), but >> I can't get right their relative title (i.e. notes.short_description). >> I'm using the standard Admin interfaces, no sp

Re: Ajax

2006-10-07 Thread Malcolm Tredinnick
On Sat, 2006-10-07 at 17:44 +0530, Ramdas S wrote: > Hi, > > .Aanyone integrated dojo or any other Ajax tool kit with admin > interface. I need a simple Rich Text Box for the body editor fpr a > blog. I tried TinyMCE. It is not working. Not directly answering your question, but Bill de hÓra wr

Re: Ajax

2006-10-07 Thread Dirk Eschler
Am Samstag, 7. Oktober 2006 14:14 schrieb Ramdas S: > Hi, > > .Aanyone integrated dojo or any other Ajax tool kit with admin interface. I > need a simple Rich Text Box for the body editor fpr a blog. I tried > TinyMCE. It is not working. > > Thanks > > Ramdas What exactly have you tried to get Ti

Re: Bad title alignment for short_description in Admin

2006-10-07 Thread Malcolm Tredinnick
On Sat, 2006-10-07 at 14:19 +0200, Mario Graziosi wrote: [...] > I found the reason for that behavior: I had in my settings.py the > following declaration: > > TEMPLATE_STRING_IF_INVALID = 'invalid var' That setting causes nothing but trouble, it seems. :-( > which I added to better view my te

Re: Support for static content?

2006-10-07 Thread David Abrahams
"Adrian Holovaty" <[EMAIL PROTECTED]> writes: > 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 gener

Re: django - kit

2006-10-07 Thread Picio
I know webfaction is very good and I saw a screencast about it. But what I'm searchin for is a kit or a way to build a kit to have a server at home Linux or Window based to host my django apps. Hosting is absolutely a good solution, but I have a few intranet sites, that I want to convert to Djang

Re: django - kit

2006-10-07 Thread David Sissitka
I'm not sure what you mean by a kit, something like InstantRails for Django? If so, I'm not aware of one, but Django is pretty easy to install. On 10/7/06, Picio <[EMAIL PROTECTED]> wrote: I know webfaction is very good and I saw a screencast about it.But what I'm searchin for is a kit or a way to

Re: Re: Bad title alignment for short_description in Admin

2006-10-07 Thread Russell Keith-Magee
On 10/7/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Sat, 2006-10-07 at 14:19 +0200, Mario Graziosi wrote: > [...] > > I found the reason for that behavior: I had in my settings.py the > > following declaration: > > > > TEMPLATE_STRING_IF_INVALID = 'invalid var' > > That setting causes

Re: django - kit

2006-10-07 Thread Picio
Do you know about WAMP LAMP Apache2Triad (That's what I'm using now but it lacks Django) XAMPP I mean kits to avoid configuring apache mod_python django to work togheter. Let's say I want to install django with lighttpd: I have to install: 1 - python 2 - lighttpd 3 - flup 4 - django then I have

Count clicks

2006-10-07 Thread Dirk Eschler
Hi, i've started working on a very simple news app (still learning). Now i want to count the hits a topic gets. My url pattern looks like this: urlpatterns = patterns('foo.news.views', (r'^$', 'index'), (r'^(?P\d+)/$', 'detail'), ) In my model i have an IntegerField called "count". Wha

Re: what about example of project ?

2006-10-07 Thread Don Arbow
On Oct 7, 2006, at 1:57 AM, Marco Amato wrote: > I am not a big programmer , and I will found usefull sample of code. > So, what about add a list of app and project for example? What about this page at the django website? http://code.djangoproject.com/ scroll down and you'll see a heading tha

Re: Count clicks

2006-10-07 Thread Martin Winkler
Hi, > In my model i have an IntegerField called "count". What would be a > good way to increment the post with post_id=1 when someone > accesses "http://www.mysite.com/news/1";? Resp. where do i put my code? I can see here two issues: It's generally a bad idea to update anything in the database

Re: Storing UTC Time Zone Deviations In My Model?

2006-10-07 Thread [EMAIL PROTECTED]
All, I agree with Malcolm, I could have done a much better job detailing my question(s), so I will give it another shot. Synopsis: I'm trying to develop a model for international locations that can be associated with various content types such as an article, advertisement, user, etc.

Re: Count clicks

2006-10-07 Thread Dirk Eschler
Am Samstag, 7. Oktober 2006 18:47 schrieb Martin Winkler: > Hi, > > > In my model i have an IntegerField called "count". What would be a > > good way to increment the post with post_id=1 when someone > > accesses "http://www.mysite.com/news/1";? Resp. where do i put my code? > > I can see here two

Re: Django's target applications?

2006-10-07 Thread [EMAIL PROTECTED]
Thanks for the comments, I've updated the two entries for Melt under "Community building" and "Social Networking" the same (maybe a bit too self-promotional, or maybe the two categories are better merged?) As Paul and Don said: we call the application/software "Melt", and through the link to our

Re: Ajax

2006-10-07 Thread MerMer
I can't get it to work either. I've tried both setttings. I followed Bill de hÓra detailed screen shots about where to install TinyMCE. My admin code inside my model has:- js = ['tiny_mce/tiny_mce.js', 'js/textareas.js'] Checking the source code from the returned HTML shows that the Javascrip

Re: Ajax

2006-10-07 Thread Jay Parlar
On 10/7/06, MerMer <[EMAIL PROTECTED]> wrote: > > I can't get it to work either. I've tried both setttings. I followed > Bill de hÓra detailed screen shots about where to install TinyMCE. > > My admin code inside my model has:- > js = ['tiny_mce/tiny_mce.js', 'js/textareas.js'] > > Checking the

Re: Ajax

2006-10-07 Thread Dirk Eschler
Am Samstag, 7. Oktober 2006 22:05 schrieb MerMer: > I can't get it to work either. I've tried both setttings. I followed > Bill de hÓra detailed screen shots about where to install TinyMCE. > > My admin code inside my model has:- > js = ['tiny_mce/tiny_mce.js', 'js/textareas.js'] > > Checking t

Re: Django's target applications?

2006-10-07 Thread Serg Kovrov
Thanks for replays, everyone. My fault - I didn't said I already went through official tutorial, some of the documentation and faq. I have set up and studied django website sources, and also red a few articles, including "How Django processes a request" (both, James and Simon's). Presentations fr

Re: Ajax

2006-10-07 Thread MerMer
I'm using a default local installation on a Windows XP machine, running Firefox 1.5 When I try the following URL http://localhost:8000/media/js/textareas.js I get a message saying that the file cannot be found on the following (notice the slashes) C:\Python24\lib\site-packages\django_src\django

Re: Ajax

2006-10-07 Thread Ramdas S
Hi,I am able to see the file when I try http://localhost:8000/media/js /textareas.js However the Ajax effect is missing! Its all the same inside interface! I use the latest Mozilla FireFox and Ubuntu 6.2 Dapper. TinyMCE version is 2.0.6.1 .Do you suggest the same if I am trying it with another edi

Re: Django's target applications?

2006-10-07 Thread Serg Kovrov
I'd like to add that I came to Python actually because of Django. I have watched for long time different frameworks (of different languages) and Django seems most like-minded to me. And I was pleasantly surprised on how mod_python and Django actually works. The fact that mod_python caching (compi

Re: Re: Re: Bad title alignment for short_description in Admin

2006-10-07 Thread Russell Keith-Magee
On 10/7/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > On 10/7/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > That setting causes nothing but trouble, it seems. :-( > > Indeed. #2384, #2566 are both open bugs that are > TEMPLATE_STRING_IF_INVALID related. This particular problem appe

errors on syncdb

2006-10-07 Thread ryangriff.in
I've been playing around with a local install of django on os x and I have continously been getting errors when trying to syncdb. Going through Jeff Croft's simple tutorial here: http://www2.jeffcroft.com/2006/jul/14/django-admin-your-php-app/ With this modules.py: from django.db import model

Re: SSL Middleware

2006-10-07 Thread [EMAIL PROTECTED]
looks handy! so now we can specify our urls for, say a login screen, and enjoy ssl for that page only without explicit redirects. Also there is no way for a user to request an unsecure version of that page if one is not explicitly offered. --~--~-~--~~~---~--~~ Y

Re: errors on syncdb

2006-10-07 Thread Russell Keith-Magee
On 10/8/06, ryangriff.in <[EMAIL PROTECTED]> wrote: > > EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined. The problem is exactly what the error says. You don't have DJANGO_SETTINGS_MODULE defined in your environment. This has nothing to do with your model. If you are us

Re: errors on syncdb

2006-10-07 Thread ryangriff.in
Been trying to run "manage.py syncdb" but all I get is "-bash: manage.py: command not found". Read through http://www.djangoproject.com/documentation/django_admin/ and it looks like I should be able to use manage.py and it would set the DJANGO_SETTINGS_MODULE and the sys.path but no luck so far.

Re: Re: errors on syncdb

2006-10-07 Thread James Bennett
On 10/7/06, ryangriff.in <[EMAIL PROTECTED]> wrote: > Been trying to run "manage.py syncdb" but all I get is "-bash: manage.py: > command not found". In the directory where your project lives, try 'python manage.py syncdb'. Just doing 'manage.py syncdb' usually doesn't work, because the file may

Multiple databases, same Django instance.

2006-10-07 Thread Gloria
Hi, I was wondering if the feature is fully supported yet. I have more than one existing "legacy" database that I would like to support from the same Django instance. How do I safely bring the Django tables into each database? Do you run syncdb on an empty copy, then add your tables, then importd