Re: Email model

2007-09-12 Thread wiz
On 9/11/07, Collin Grady <[EMAIL PROTECTED]> wrote: > > You are likely going to have to write that sort of app yourself. Or use dbmail as mail catcher to automaticaly catch all mail. Then you'll need only to tweak inspectdb's interfaces to dbmails' tables.

Django + FastCGI + Nginx

2006-11-11 Thread wiz
Hellow, orld! Here is a screencast by [EMAIL PROTECTED] about installing django on nginx (small, versatile http server - http://nginx.ru/) Enjoy: http://twogre.aenor.ru/files/video/screencast/Django-Nginx-FastCGI-screencast-1024.avi --~--~-~--~~~---~--~~ You

Re: group traffic

2006-09-04 Thread wiz
On 9/2/06, Frank Stüss <[EMAIL PROTECTED]> wrote: > And if it was written in django and could be used as an example of excellent > programming it would be even better. > Anyone? 8-) Zyons? --~--~-~--~~~---~--~~ You received this message because you are subscribed

check for yourself (((;

2006-08-17 Thread wiz
http://www.google.com/search?hl=en==Django+administration+Admin+Log+in+Username+Password=Search --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Don't make me wait!

2006-07-09 Thread wiz
On 7/6/06, Tyson Tate <[EMAIL PROTECTED]> wrote: > > Why not put the messages in the database and read it from other side? > I'm not sure I understand what you mean. Do you mean that I should > take the API call responses and read them from the user-side with > AJAX? I hope that's not what you

Re: Don't make me wait!

2006-07-06 Thread wiz
> Sometimes, the API calls can take some time (Ma.gnolia, I'm talking > to you!), which ends up making the user visiting my front page wait > until all the API calls are done running before the front page loads. > Is there a way to avoid this by executing the synchronization methods > in another

Re: Using a Django project in a python script.

2006-07-06 Thread wiz
> As a part of the application I'm writing I need to do certain things to the database every night. The easiest way to implement this would be a python script run every night by cron. Set env DJANGO_SETTINGS_MODULE setting for the script. Then just use your models and template as you do this in

Re: SubClassing problem

2006-07-03 Thread wiz
> class MPTTTree(models.Model): > created_at = models.DateTimeField(_('creation date'), auto_now_add=True) > updated_at = models.DateTimeField(_('last update date'), auto_now=True) > parent = models.ForeignKey("self", null = True, blank = True) > lhs =

Re: Announcing Tabblo, a Django app

2006-06-19 Thread wiz
On 5/18/06, Ned Batchelder <[EMAIL PROTECTED]> wrote: > > 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

Re: Is there a cms like Ellinton?

2006-06-18 Thread wiz
> try the django admin-interface: > http://www.djangoproject.com/documentation/tutorial2/ and flatpages: http://www.djangoproject.com/documentation/flatpages/ ...and other nice apps from contrib (: --~--~-~--~~~---~--~~ You received this message because you are

Re: Ajax support, there is no need for reinventing the wheel

2006-06-06 Thread wiz
What is 'lack of ajax support'? We couldn't make ajax fodder with templates? We couldn't just slap to one or another pretty ajax lib? Looks like this is the question of lazyness. I'm pretty happy now with my tiny jah.js + data from generic views and heard about some nice ajax packages. So what

Re: Is Django suitable for a big numbers of visitors??

2006-05-29 Thread wiz
> How can I verify that caching works? "apache benchmark" or something like that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Is Django suitable for a big numbers of visitors??

2006-05-29 Thread wiz
> I use Django with FastCGI ( via WSGI) and have problems with downtime > when more visitors come to my website. 1) use cache 2) disable DEBUG --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: xml

2006-05-24 Thread wiz
On 5/24/06, Mary Adel <[EMAIL PROTECTED]> wrote: > How could i return the data from the database in a xml file with certain > format using the views in Django You can use generic_views + templates for printing XML in your format. Or views + some pythonic XML-streamer.

Re: standalone ORM

2006-05-05 Thread wiz
On 5/5/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > > How possible is it to use the ORM part of Django separate from > everything else? You can freely use your apps in every way you need: web, cli, gui or smth. else. Just instal django as usual, make your app, manage it with manage.py, put it

Re: Arcitectual q?

2006-05-04 Thread wiz
On 5/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I am prototyping os monitor in real time. What would be some of less complex > scenerious accomplishing rendering with django templates accomplishing > similar effect as tail -f try using mini template pieces and render them to

Re: Confused about where to put css and images

2006-01-09 Thread wiz
В Вск, 08/01/2006 в 16:24 -0500, Jeffrey E. Forcier пишет: > Oh, I see what you mean. I'm pretty sure you can just do an 'from > myproject import settings' in your view module, then throw the > variables from that into your template context, e.g. "context > ['MEDIA_URL'] =

Re: Confused about where to put css and images

2006-01-08 Thread wiz
В Вск, 08/01/2006 в 11:42 -0500, Jeffrey E. Forcier пишет: > 0.9, but I'm not positive) generic view which lets you assign a URL > to a template directly without having to write a tiny custom view for > it. > http://www.djangoproject.com/documentation/generic_views/ Thanks, i'm already

Re: Confused about where to put css and images

2006-01-08 Thread wiz
В Сбт, 07/01/2006 в 08:41 -0800, PythonistL пишет: > For the production server (Apache with mod_Python) I have in my > settings.py > MEDIA_ROOT = "C:/Django/TEMPLATES/Static/" #Python Syntax eventhough > MEDIA_URL = "/Media/" > For both( development and production server) then I use in my

Re: Images. Stylesheets. Javascripts. Where do I put 'em.

2005-12-31 Thread wiz
On Птн, 2005-12-30 at 20:42 +, scum wrote: > I cannot figure out the `official` place to put images, stylesheets, > and javascripts and the process to access them. Can someone explain > their method of doing this. I'm just root-linking all that stuff to '/media/css/base.css'(js, img, etc.)

Re: weird template(?) error

2005-12-30 Thread wiz
> this has nothing to do with template - a mod_python error is usually > caused by a borked __repr__ - look for a missing comma at the end > of a tuple Yeah, that's it.. I'm done some tweaks to model and at some time discovered an error in __repr__.

Re: weird template(?) error

2005-12-28 Thread wiz
> I think the way to do it is to turn TEMPLATE_DEBUG=False so you can see > the real error message. Nay. Don't works either with DEBUG=False. Same exception with 'raise wrapped' thingy. It constantly drops dead on some pages even if there a blank template...

admin & ffox 1.0.7

2005-12-15 Thread wiz
Strangely, "add" page in admin system lookls like about:blank. But "view source" shows that everything is ok. -- wiz