Re: New site: www.portaltotheuniverse.org

2009-04-23 Thread larsholm

Not at all :-)

For the site we use:
feedparser (nearly obviously for the feed parsing - it's unbeatable)
beautifulsoup
django-command-extensions
django-batchadmin (which I'm very happy to see makes it into Django
1.1)
django-mptt (for our menu system)
djangodblog
PIL
threadpool
SSLMiddleware

For deployment we're using a combination of Paver (with some of our
own add-ons), Fabric and virtualenv - all of it works really well
together and makes deployment so much easier.

Besides that we have a growing common code base for all our sites,
that contains all the base components you just need in a site (menus +
breadcrumbs generation, a more flexible flatpages app with TinyMCE
editor, searching etc). Most of our code base, I'd like to release as
open source, but it's quite a big task for the initial stuff we did,
which is basically where it gets stuck. The new applications we are
doing, we have much greater focus on making them open source, so
hopefully you should see small apps coming from us in a not so distant
future (ESO is after all funded with tax money ;-).

Cheers,
Lars

On Apr 23, 3:34 pm, Zain Memon <z...@inzain.net> wrote:
> Cool! Mind sharing the names of any open source django apps you used?
>
>
>
> On Thu, Apr 23, 2009 at 6:09 AM, larsholm <l...@hankat.dk> wrote:
>
> > Dear all,
>
> > Allow me to advertise for our new Django based site:
> >http://www.portaltotheuniverse.org
>
> > Keeping up-to-date with cutting-edge astronomy and space science
> > breakthroughs has just become that much easier, thanks to the Portal
> > To The Universe, the latest Cornerstone project of the International
> > Year of Astronomy 2009 (IYA2009).
>
> > On the tech side it basically boils down to a content-specific feed
> > aggregator with a number of important add-ons:
> > - human moderation to feature high quality content.
> > - embargoed press releases for journalists with login (works in much
> > the same way as when journalists can be invited to watch new movies a
> > day before everybody else).
> > - the RSS crawler is fast and updated very often to keep up-to-date
> > with the news development during the day.
>
> > This is our third major Django-based website we have done here at ESO
> > - European Southern Observatory (located in Munich, Germany), and we
> > naturally have more websites with astronomy content in the pipeline.
>
> > Thanks for viewing!
>
> > Lars Holm Nielsen <lniel...@eso.org>
> > ESO - European Southern Observatory
--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



New site: www.portaltotheuniverse.org

2009-04-23 Thread larsholm

Dear all,

Allow me to advertise for our new Django based site: 
http://www.portaltotheuniverse.org

Keeping up-to-date with cutting-edge astronomy and space science
breakthroughs has just become that much easier, thanks to the Portal
To The Universe, the latest Cornerstone project of the International
Year of Astronomy 2009 (IYA2009).

On the tech side it basically boils down to a content-specific feed
aggregator with a number of important add-ons:
- human moderation to feature high quality content.
- embargoed press releases for journalists with login (works in much
the same way as when journalists can be invited to watch new movies a
day before everybody else).
- the RSS crawler is fast and updated very often to keep up-to-date
with the news development during the day.

This is our third major Django-based website we have done here at ESO
- European Southern Observatory (located in Munich, Germany), and we
naturally have more websites with astronomy content in the pipeline.

Thanks for viewing!

Lars Holm Nielsen 
ESO - European Southern Observatory

--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Weird problem with memcached enabled

2007-08-14 Thread larsholm

Hi

What the error says is that it cannot add this together "time.time() +
cache_timeout" because on is float and the other is a string, so I
suspect that you somewhere have specified *cache_timeout* as a string
in quotes instead of just a number (without quotes). Either in the
settings.py or in manually in one of the views.

Cheers,
Lars

TheMaTrIx wrote:
> Firefox
> = All pages OK
>
> Internet Explorer
> = http://www.domain.com gives HTTP500 error with info:
>
> [error] PythonHandler django.core.handlers.modpython: Traceback (most
> recent call last):
> [error] PythonHandler django.core.handlers.modpython:   File "/usr/lib/
> python2.4/site-packages/mod_python/apache.py", line 299, in
> HandlerDispatch\nresult = object(req)
> [error] PythonHandler django.core.handlers.modpython:   File "/usr/lib/
> python2.4/site-packages/django/core/handlers/modpython.py", line 178,
> in handler\nreturn ModPythonHandler()(req)
> [error] PythonHandler django.core.handlers.modpython:   File "/usr/lib/
> python2.4/site-packages/django/core/handlers/modpython.py", line 155,
> in __call__\nresponse = middleware_method(request, response)
> [error] PythonHandler django.core.handlers.modpython:   File "/usr/lib/
> python2.4/site-packages/django/middleware/cache.py", line 81, in
> process_response\npatch_response_headers(response,
> self.cache_timeout)
> [error] PythonHandler django.core.handlers.modpython:   File "/usr/lib/
> python2.4/site-packages/django/utils/cache.py", line 86, in
> patch_response_headers\nresponse['Expires'] =
> formatdate(time.time() + cache_timeout)[:26] + "GMT"
> [error] PythonHandler django.core.handlers.modpython: TypeError:
> unsupported operand type(s) for +: 'float' and 'str'
>
> =http://www.domain.com/?randomstring gives the normal frontpage.
>
> Any idea whats up here?


--~--~-~--~~~---~--~~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Installing django on a vm using NAT - SVN 400 bad request

2007-08-14 Thread larsholm

Hi,

On Aug 14, 3:36 am, sanchothefat <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to get django going on a debian etch vm I have which
> uses NAT to access the web. I found some info that suggested using https://
> but that won't work.

Are you trying to get the latest copy of django from the subversion
repository?

I've been running both debian and ubuntu on my vmware fusion without
any problems. Can you connect to anything else outside your computer
from your vm?

> Should I try ubuntu or is there something in the vm settings I need to
> change? I'm still quite new to *nix but making progress so any advice
> you can give me on what things to try is very welcome.
>
> Ta very much,
> Rob

Cheers,
Lars


--~--~-~--~~~---~--~~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---