Re: hi every one please become a member to this site and win much more money!!!!

2007-07-01 Thread Christian Markwart Hoeppner

I'm getting so tired of these senseless spammers. Let AGLOCO know I'd
never be interested in such a stupid service. Are you really pretending
me to believe I'd be getting moning thanks to some uber-generous guy
that founded agloco?

Please...

El dom, 01-07-2007 a las 16:40 +, kasim escribi�:
> http://www.agloco.com/r/BBFR2592
> 
> http://www.agloco.com/r/BBFR2592
> 
> 
> http://www.agloco.com/r/BBFR2592
> 
> 
> Dear __,
> 
> I recently joined AGLOCO because of a friend recommended it to me. I
> am now promoting it to you because I like the idea and I want you to
> share in what I think will be an exciting new Internet concept.
> 
> AGLOCO's story is simple:
> 
> Do you realize how valuable you are? Advertisers, search providers and
> online retailers are paying billions to reach you while you surf.  How
> much of that money are you making? NONE!
> 
> AGLOCO thinks you deserve a piece of the action.
> 
> AGLOCO collects money from those companies on behalf of its members.
> (For example, Google currently pays AOL 10 cents for every Google
> search by an AOL user. And Google still has enough profit to pay $1.6
> billion dollars for YouTube, an 18-month old site full of content that
> YouTube's users did not get paid for!
> 
> AGLOCO will work to get its Members their share of this and more.
> 
> AGLOCO is building a new form of online community that they call an
> Economic Network. They are not only paying Members their fair share,
> but they're building a community that will generate the kind of
> fortune that YouTube made. But instead of that wealth making only a
> few people rich, the entire community will get its share.
> 
> What's the catch? No catch - no spyware, no pop-ups and no spam -
> membership and software are free and AGLOCO is 100% member owned.
> Privacy is a core value and AGLOCO never sells or rents member
> information.
> 
> So do both of us a favor: Sign up for AGLOCO right now! If you use
> this link to sign up, I automatically get credit for referring you and
> helping to build AGLOCO. http://www.agloco.com/r/BBFR2592
> Please  follow this link and create own membership by this link
> 
> Thanks
> 
> 
> 
-- 
Chris Hoeppner
[w] www.pixware.org
[w] www.chrishoeppner.com - coming soon
[e] [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
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: Django admin saving image file - 500 error

2007-06-26 Thread Christian Markwart Hoeppner


> Apparently the mysite.fcgi file was not being automatically created
> when I used the fcgi startup script to start the site. So I went into
> the directory and did a `touch mysite.fcgi`  then a good old chown
> lighttd:lightd mysite.fcgi  and it a magical thing happened - it
> started working.

I was just about to tell you to have a look at the fcgi file. Glad you
solved it.

Sincerely,
Chris Hoeppner
www.pixware.org


--~--~-~--~~~---~--~~
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: Django admin saving image file - 500 error

2007-06-26 Thread Christian Markwart Hoeppner

El mar, 26-06-2007 a las 08:14 -0700, john-f escribió:
> Hi all,
> 
> I'm getting 500 errors when trying to upload a image file with the
> django admin.
> I think this has to do with user/group permissions on the media
> directory (currently they are owned by lighttpd:lighttd)
> Does anyone know what 'user' is being run to actually do the saves? I
> think it's the apache user but I could be wrong.
> Anyways in my group file I added apache to the lighttd group.
> 
> Does anyone have any ideas? I'd appreciate the help. Thanks.
> 
> My setup:
> Apache and fast_cgi serves the django pages
> Lighttpd serves media
> Db run off another server

Of course, the media you're saving is being processed by python, and
that's apache, if that config is right. Lighttpd is *serving* static
files, but upload is being done by apache.

Make sure the directory (and, just in case, it's parent) is writable by
the appropiate user or group. If unsure, set to 777 to see if it's a
permission problem, and don't forget to set it back to something more
secure once your test is done.

Have a look at apache logs (error logs specially) and make sure django
has DEBUG = True. If with DEBUG on you're still getting 500 pages (and
not a django error page), the problem will be reported in apache's error
log, scattered through a few lines, so remember to look further upwards
than the last line.

Be sure to write back with your results, even if they're good. We like
to know if we're helping or just dropping dumb lines :)

Good Luck,
Chris Hoeppner
www.pixware.org


--~--~-~--~~~---~--~~
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: Introducing DjangoSites.Org

2007-06-24 Thread Christian Markwart Hoeppner

El dom, 24-06-2007 a las 04:49 -0700, wathi escribió:

> i am not a professional designer (yet;]), so i am lacking some
> knowledge. especially when it comes to font-size vs screen resolution.
> i promise i will investigate this so it will hopefully look convenient
> on your laptop in the near future.

Might I be of any help for your design department?


--~--~-~--~~~---~--~~
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: Help Me

2007-06-24 Thread Christian Markwart Hoeppner

El sáb, 23-06-2007 a las 14:28 -0300, YASAKTIR YASAKTIR escribió:
> Please, enter on http://www.dceunerj.com.br and vote on "Lais
> Alessandra"
> 
> Please!

Why? Whatfor?


--~--~-~--~~~---~--~~
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: ANN: Django-fr.org is out!

2007-06-22 Thread Christian Markwart Hoeppner

> Is there any interest in a #django-es for Spanish?  I speak a little
> of that and would like to improve.  I could help with Django and
> others could help me with Spanish.  ;-)

Hey! I was just thinking about this. Count me in. Anyone else in to get
#django-es and django-es.org/com/es up? Spanish people need spanish
django ;)

Chris Hoeppner
www.pixware.org


--~--~-~--~~~---~--~~
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: Very large scale sites in Django

2007-05-31 Thread Christian Markwart Hoeppner

Hi there,

AFAIK, the bottleneck tends to be the database, so a cache solution like
memcached should make the deal. Think of a 256Mb cache for 10 seconds
maybe.

Of course, the hardware should be able at least to serve that amount of
static pages, and maybe you should think about running the database on
another box, and link them with a proper lan.

Though I have not ever experienced such a traffic, so this is pure
theory.

Kind regards,
Chris Hoeppner
www.pixware.org

El jue, 31-05-2007 a las 08:26 -0400, Daniel Ellison escribi�:
> Hi all,
> 
> I'm about to start a Django project that will be replacing an existing 
> high-profile Drupal site. The existing site has extremely high traffic - 
> approximately 1,440,000 page views per hour, or 400 per second. This is only 
> possible with the help of Akami. Without Akami the site would melt.
> 
> Is there anything I need to be aware of with regard to Django and high 
> availability? I saw this:
> 
> http://www.davidcramer.net/other/43/rapid-development-serving-50-pageshour.html
> 
> but our traffic is triple that. I did glean a lot of good information from 
> the 
> site, however.
> 
> I know that if we throw enough hardware at the system it will be able to 
> handle the volume, but we don't have the budget for the hardware necessary in 
> this case. Does anyone have any experience with a site of this magnitude? The 
> 400 pages per second is a constant rate, not peak.
> 
> The launch date is in September, so we have a limited time to design the 
> models, port over the data (from Drupal's fractured database structure), and 
> recreate this site from scratch.
> 
> Thanks!
> 
> > 


--~--~-~--~~~---~--~~
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: Where did you put your homepage view?

2007-05-23 Thread Christian Markwart Hoeppner

> I'm juste curious, where did you put your homepage view when you've
> got a project with a lot of apps? Is there a best practice here?

An extra app? Man... Views do not *have* to reside inside some app.
Whenever I have some view not specific to some app, I create a module
for those in the project root. Same with project-specific middleware and
the such.

For example, I have lately gotten a maintenance-middleware solution from
this list, and it's being implemented in a module called "common_views"
that resides in the project folder.

Remember, you can have your code anywhere, as long as it's on the
pythonpath.

Be adventurous. We coders need to be.

Kind regards,
Chris Hoeppner
www.pixware.org


--~--~-~--~~~---~--~~
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: need to know to start learn django

2007-05-23 Thread Christian Markwart Hoeppner

El mié, 23-05-2007 a las 11:46 -0500, Tim Chase escribió:
> > What i need to know, except python before i start learn django?

I went onto my first django-powered project without knowing a bit of
python, django, whatever. Actually, I jumped over mid-project! Python is
amazingly easy to learn, and I had a firm background of web-related
stuff anyways, so the learning path was quite amusing.

Want to learn it quick? Start someting you'd like to have, like a blog
or so. Your own passion for it will keep you learning, doing, and
learning again.

Kind regards,
Chris Hoeppner
www.pixware.org


--~--~-~--~~~---~--~~
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: Scheduler proposal

2007-05-21 Thread Christian Markwart Hoeppner

You might want to look into generating some sort of cron file from
within the framework. Writing a plaintext file is not that hard. Maybe
just write it somewhere within your project folder and make cron
"include" it, though I'm unsure wether cron is able to do such an
include/import with the crontabs.

Kind regards,
Chris Hoeppner
www.pixware.org


--~--~-~--~~~---~--~~
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: Job: Internships at World Online in Lawrence

2007-05-03 Thread Christian Markwart Hoeppner

That should be a problem :D

I live in spain.

El mi�, 02-05-2007 a las 23:49 +0100, Gerry Steele escribi�:
> Does being an Northern Irish student exclude me?
> 
>  Though I guess the geography precludes it anyway :-\
> 
> Jacob Kaplan-Moss wrote:
> > On 5/2/07, Christian Markwart Hoeppner <[EMAIL PROTECTED]> wrote:
> >   
> >> A shame I'm not a student. I would be applying right now :D
> >> 
> >
> > Oops -- looks like I wasn't quite clear enough about this: although we
> > expect students to apply, the program's in no way limited to students!
> >
> > The idea is to find people who are very smart but new to this whole
> > In-tar-web thing -- students or no.
> >
> > Jacob
> >
> > >
> >
> >   
> 
> 
> > 


--~--~-~--~~~---~--~~
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: Job: Internships at World Online in Lawrence

2007-05-02 Thread Christian Markwart Hoeppner

This are great news!

Django is making it's way into the big world, and I'm glad to be part of
the community. A shame I'm not a student. I would be applying right
now :D

Run everyone! You're wasting the oportunity of your life!

El mié, 02-05-2007 a las 14:22 -0500, Jacob Kaplan-Moss escribió:
> Howdy folks --
> 
> I'm extremely excited to announce our new internship program here in
> Lawrence. Starting this summer we're going to be hiring interns to
> join our kick-ass team and learn the ropes.
> 
> If you're a student, or if you're trying to break into the world of
> next-generation web development, I can't think of a better place to
> get started. You'll get to spend up to six months developing cool toys
> (in Django, of course), live in one of the coolest towns in the
> country, and learn web development from the best.
> 
> This is not some namby-pamby fetch-us-coffee-do-our-grunt-work
> internship; we'll expect our interns to plan, design, and go through a
> couple of iterations on a complete application. You should expect to
> work your butt off and learn a huge amount. And if things go well,
> there's a good chance we'll be offering you a full-time position at
> the end of the program.
> 
> We'll be paying a generous stipend -- more than enough to live
> comfortably (and eat extremely well!) in Lawrence. If you're a
> student, we're more than happy to work with your school to help you
> get credit, too.
> 
> If this sounds fun to you, drop me an email -- jacob -at- lawrence
> -dot- com -- and let me know why I should choose you instead of some
> other schmuck.  Include links to work you've done or code you've
> written (in any language) and a short resume, plain text or HTML only.
> 


--~--~-~--~~~---~--~~
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: django settings problem

2007-05-01 Thread Christian Markwart Hoeppner

Python uses PYTHONPATH instead of PATH. Make sure your using the first.

Chris

El mar, 01-05-2007 a las 01:24 +, whidbey escribi�:
> I dint' use the host's django.
> I make my own django folder in my home path ,It's last trunk 0.96
> ~/dango/django_src
> 
> and in my .bash_profile I export my django before  the default sys
> path
> 
> but I can't change any thing,any fact.
> 
> when I use python
> import django
> django.__path__
> 
> It still print
> 
> >>> django.__path__
> ['/usr/local/lib/python2.5/site-packages/Django-0.95.1-py2.5.egg/
> django']
> 
> that's not my need !!!
> I want
> ['myhome'.../django/django_src/]
> 
> 
> How can I do!,thx
> 
> 
> > 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



form.as_ul() help text not wrapped?

2007-04-30 Thread Christian Markwart Hoeppner

Hi there!

Just a check. When printing a form with the as_ul() method, isn't the
help_text property of each field wrapped by any tag? Even if it's just a
span with or without some class, it would provide a useful hook for the
ones feeling more designer than coder. And also for the lazy coders like
me :D

If this is intentional, this could be taken as suggestion for future
versions.

Thanks!


--~--~-~--~~~---~--~~
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: django

2007-04-28 Thread Christian Markwart Hoeppner

Rest asured we will find your answers. Django is a good choice, even
though it's still not above 1.0. Welcome, Karni.

El s�b, 28-04-2007 a las 04:46 -0700, k.s.rathore escribi�:
> hi
> everyone. i am new here in django and the purpose of being here is
> i want some help and support regarding django framework. we are
> launching a large enterprise portal and after going through some
> suggestions , decided to work on this framework. i ll be glade to
> receive your response and need support also.
> thanks
> with regards
> karni singh rathore
> 
> 
> > 


--~--~-~--~~~---~--~~
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: Dev Server - Being Denied Admin Media

2007-04-28 Thread Christian Markwart Hoeppner

Sure. I also suggested him making the place readable by the apache user,
but making a quick 777 and back is a fine way to know where the problem
is. If with that permission everything works, you know your user hasn't
got the right permissions. Though you gotta remember to chmod back to
something safer.

Thanks Malcolm.
Chris

El s�b, 28-04-2007 a las 21:06 +1000, Malcolm Tredinnick escribi�:
> On Sat, 2007-04-28 at 12:02 +0100, Christian Markwart Hoeppner wrote:
> > Make sure you have an allow all directive in your apache configuration
> > for that folder, and just in case, you might set your unix permissions
> > to 777
> 
> Please don't suggest that sort of change. Making files writable by
> everybody (or even group, often) is a bad fix to almost any problem.
> 
> Thanks,
> Malcolm
> 
> 
> 
> > 


--~--~-~--~~~---~--~~
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: Dev Server - Being Denied Admin Media

2007-04-28 Thread Christian Markwart Hoeppner

Make sure you have an allow all directive in your apache configuration
for that folder, and just in case, you might set your unix permissions
to 777 or make sure the apache user is able to read that folder.

Chris

El s�b, 28-04-2007 a las 09:14 +, Bryan Veloso escribi�:
> Permission denied: /usr/local/lib/python2.5/site-packages/django/
> contrib/admin/media/
> 
> Getting this message when I'm trying to access the admin. It's odd,
> because I didn't do any changing of permissions. Any reason this would
> happen -other- than the obvious?
> 
> 
> > 


--~--~-~--~~~---~--~~
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: Select widget choices

2007-04-24 Thread Christian Markwart Hoeppner

El mar, 24-04-2007 a las 14:28 +1000, Malcolm Tredinnick escribió:
> On Mon, 2007-04-23 at 17:26 +0100, Christian Markwart Hoeppner wrote:
> > El lun, 23-04-2007 a las 21:22 +1000, Malcolm Tredinnick escribió:
> > > On Mon, 2007-04-23 at 12:17 +0100, Christian Markwart Hoeppner wrote:
> > > > Hi there!
> > > > 
> > > > When explicitly defining a field to use a Select widget, how do I assign
> > > > choices to the dropdown?
> > > > 
> > > > My last attempt:
> > > > age = forms.IntegerField(label=_('Age'), widget=widgets.Select,
> > > > choices=range(25,90))
> > > 
> > > You can pass in an instance for the widget parameter, it doesn't have to
> > > be a class. So passing in Select(choices = ) should work.
> > > 
> > > Regards,
> > > Malcolm
> > > 
> > Doesn't work. When passing a list or tuple, or range(), it complains
> > about unpacking a non-iterable.
> 
> I just noticed that your "choices" specification is wrong, by the way.
> The choices sequence is a sequence of (value, name) pairs. Not just a
> list. It's the same as the "choices" for models.
> 
> Regards,
> Malcolm
> 
I just noticed that it needs an iterable ot two-tuples. I wonder if
there's a way to automate the creation of such a sequence, when I need a
numbered sequence. Something like "for i in range(): list.push((i,i))"
or so? I'm pretty new to python :)


--~--~-~--~~~---~--~~
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: Select widget choices

2007-04-23 Thread Christian Markwart Hoeppner

El lun, 23-04-2007 a las 21:22 +1000, Malcolm Tredinnick escribió:
> On Mon, 2007-04-23 at 12:17 +0100, Christian Markwart Hoeppner wrote:
> > Hi there!
> > 
> > When explicitly defining a field to use a Select widget, how do I assign
> > choices to the dropdown?
> > 
> > My last attempt:
> > age = forms.IntegerField(label=_('Age'), widget=widgets.Select,
> > choices=range(25,90))
> 
> You can pass in an instance for the widget parameter, it doesn't have to
> be a class. So passing in Select(choices = ) should work.
> 
> Regards,
> Malcolm
> 
Doesn't work. When passing a list or tuple, or range(), it complains
about unpacking a non-iterable.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Select widget choices

2007-04-23 Thread Christian Markwart Hoeppner

Hi there!

When explicitly defining a field to use a Select widget, how do I assign
choices to the dropdown?

My last attempt:
age = forms.IntegerField(label=_('Age'), widget=widgets.Select,
choices=range(25,90))


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---