Re: Markdown Encoding Problem

2009-06-02 Thread Waylan Limberg
liminating these kinds of problems. [1]: http://pypi.python.org/pypi/Markdown Waylan Limberg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-use

Re: Aggregating Ignores Slicing?

2009-03-04 Thread Waylan Limberg
On Mar 3, 8:55 am, Ross wrote: > I have started using aggregation, but it seems to ignore any slicing I > do on a QuerySet before calling aggregate. This is what I'm doing: > > Product.objects.order_by("-price")[:100].values("price").aggregate(Max > ("price"), Min("price")) >

Re: Deploying multiple sites on one computer using SSL

2007-03-21 Thread Waylan Limberg
On Wed, 21 Mar 2007 18:19:21 -0400, Dan Goldner <[EMAIL PROTECTED]> wrote: [snip] > > httpd.conf: > > > ServerName projects.mycompany.com > SetHandler python-program > PythonInterpPerDirective On > > # Turn Off for production, On for dev: > PythonAutoReload On > PythonDebug On > >

Re: newforms and output of required fields

2007-03-20 Thread Waylan Limberg
e field itself. So, what does I need to do > get a custom class on all labels of my required fields? > > - A. > Ticket #3512 addresses this issue. I'd suggest trying the latest patch just uploaded the other day. http://code.djangoproject

Re: A custom label on a newforms Field doesn't get passed trought pretty_name

2007-03-19 Thread Waylan Limberg
en that is possable. Whatever you type in your code is exactly how it will appear. That is complete customization. Pretty-name is just a shortcut for lazy programmers (we all are) when the default behavior is good enough. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~

Re: python 2.4 v 2.5 and DJANGO_SETTINGS_MODULE

2007-02-19 Thread Waylan Limberg
directive where the DJANGO_SETTINGS_MODULE` can be defined for a specific project. For more, I suggest reading the docs[1]. [1]: http://www.djangoproject.com/documentation/settings/ > > Any input related to the above topics would be greatly appreciated. At > this point my progress

Re: SCGIMount != '/'

2007-02-13 Thread Waylan Limberg
t I think that illustrates the problem. You need to be able to match from the front of the url. If I recall correctly, 'REQUEST_URI' includes the proctal and domain and I wouldn't want to include that in every regex expression. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~

Re: Directory structure

2007-02-12 Thread Waylan Limberg
project.com [1] and you'll see what I mean. Of course, if each app is completely independent of each other, it's not such a big deal, especially if the developer/designer is one person. That's why you can use the settings to set it up however you want. Do what works for you.

Re: Newforms: Can I do these?

2007-02-11 Thread Waylan Limberg
On Sun, 11 Feb 2007 17:43:44 -0500, johnny <[EMAIL PROTECTED]> wrote: > > Can I create the following in newforms: > > forms.DateTimeField yes > forms.IntegerField yes > forms.FloatField yes > forms.TextField try forms.CharField > forms.LargeTextField Not directly, but you can assign the

Re: changing maxlength html attribute

2007-02-09 Thread Waylan Limberg
laced with max_length everywhere when oldforms are dropped. As it'll be a backward-incompatible change it won't happen until after 0.96 though. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Use a simple query string.

2007-02-05 Thread Waylan Limberg
On 2/5/07, Waylan Limberg <[EMAIL PROTECTED]> wrote: > On 2/4/07, Jason <[EMAIL PROTECTED]> wrote: > > > > Can anyone help with my super simple query string problem > > > > I'm simply trying to get www.mysite.com/uptodate?build=123 parsed. The > &g

Re: Use a simple query string.

2007-02-05 Thread Waylan Limberg
def uptodate(request): if request.method == 'GET': build = request.GET.get('build', '123') You could also just do: build = request.get['build'] But by using get() you can set a default and catch any failures if 'build' is missing - works the

Re: textarea - autoamtic line break

2007-02-02 Thread Waylan Limberg
with one > > >> of my own forms (in order to fit the text in a box in a pdf). > > > > > Why write your own? > > > > > <http://docs.python.org/lib/module-textwrap.html> > > > > hey cool - just what i wanted at the instant i wanted it > >

Re: Validation discrepancies between admin and newforms

2007-01-31 Thread Waylan Limberg
handled as an IntegerField in newforms (thus validation fails > on dashes). > > Shouldn't the validation be centralized and occur only in one place? Or is > this a wanted behaviour, since the admin is a contributed app, and not > part of django core? > > Thanks, > -- > Kil

Re: newbie strange behavior

2007-01-26 Thread Waylan Limberg
g the server for development then you can add MaxRequestsPerChild 1 to your config file to force Apache to reload everything for each request. Just don't do that on a production server. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message be

Re: Shell question (simple)

2007-01-25 Thread Waylan Limberg
that this, I'll write up a sample script that prints out the results and just rerun it after editing. That's generally easier in the long run, especially if I want to make some changes to the test code. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~---

Re: video uploads (like you tube)

2007-01-24 Thread Waylan Limberg
/video-blogging-using-django-and-flashtm-video-flv/56 -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

Re: a password field?

2007-01-24 Thread Waylan Limberg
Whoops, sent that too soon. On 1/24/07, Waylan Limberg <[EMAIL PROTECTED]> wrote: > On 1/24/07, medhat <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > Ok, here is a question for anybody who might have a quick answer (since > > I can't find it

Re: a password field?

2007-01-24 Thread Waylan Limberg
tion.) > Well, if your using newforms, you want the `PasswordInput -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: newforms: are FloatField and HiddenField missed yet ?

2007-01-24 Thread Waylan Limberg
On 1/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Does anyone else have thoughts about a FloatField? > See this ticket: http://code.djangoproject.com/ticket/3238 -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You receiv

Re: order_by not working with foreign keys:

2007-01-24 Thread Waylan Limberg
On 1/24/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > > Waylan Limberg wrote: > > On 1/24/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > >> Book.objects.all().select_related() > >> .order_by('-bookshop_bookstat.avg_rati

Re: order_by not working with foreign keys:

2007-01-24 Thread Waylan Limberg
_avg_rating')[0:10] -- ---- Waylan Limberg [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

Re: Validation on Client Side? Django support only server side validation

2007-01-16 Thread Waylan Limberg
On 1/16/07, johnny <[EMAIL PROTECTED]> wrote: Django support only server side validation. Dose it support validation on Client Side? I would like to push it on client, to keep my server load light. Any client side processing would be done with javascript. However, you must always remember

Re: newforms : how to display as_ul from views.py

2007-01-15 Thread Waylan Limberg
: form, }) return HttpResponse(t.render(c)) I can make the template behave the way I want to using CSS. But that is not the idea... > -- ---- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are s

Re: Evaluation of urls.py in mod_python

2007-01-11 Thread Waylan Limberg
} > This will force the value of datetime.now to be evaluated only at run time. In other words, the value will actually represent the current time when the request is made. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because

Re: Importing models from outside applications

2007-01-10 Thread Waylan Limberg
hould do the trick. Depending on how you plan to run your app, you can either permenantly set the DJANGO_SETTINGS_MODULE environment variable via the OS or in you python code. In your python code this should do the trick ( where myproject is on your pythonpath): import os os.environ['DJANGO_

Re: Django made a mistake by not serving static file ?

2007-01-10 Thread Waylan Limberg
l behind https (again, note the *s*) you're good and only need one certificate as everything is behind one domain. If your using Fcgi a few extra tricks with mod_rewrite (or your server's equivalent) should get you the same effect as the mod_python t

Re: Underscore in CharField definition

2007-01-09 Thread Waylan Limberg
5 of that file: from django.utils.translation import gettext_lazy as _ _('some text') is a call to the function gettext_lazy passing in 'some text' -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because yo

Re: Removing SQL From Templates

2007-01-09 Thread Waylan Limberg
ose calls from the template. Seems to me more like an issue of *when* the SQL queries are executed and select_related takes care of that. [1]: http://www.djangoproject.com/documentation/db_api/#select-related -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---

Re: where does the old manipulator go?

2007-01-05 Thread Waylan Limberg
errant data) -- Waylan Limberg [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

Re: What's the best way to learn newforms?

2006-12-31 Thread Waylan Limberg
On 12/31/06, Waylan Limberg <[EMAIL PROTECTED]> wrote: On 12/31/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > Regarding your deleted comment: Comments on the documentation pages > are intended to be suggestions and corrections for the docs themselves > -- not te

Re: rendering multiple dictionaries?

2006-12-31 Thread Waylan Limberg
t. [1]: http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: What's the best way to learn newforms?

2006-12-31 Thread Waylan Limberg
s form to a comments policy would help avoid this confusion. Just a suggestion. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Problem with custom forms and related objects

2006-12-31 Thread Waylan Limberg
gs. I suppose that if you were stuck in an older version, you could work up your own patch, but seeing you're running the latest trunk, that seems unlikely. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message becau

Re: Newforms clean_data

2006-12-29 Thread Waylan Limberg
. However, that could be attributed to the current lack of documentation (a problem that will no doubt be addressed soon) than anything else. And once I got the logic worked out in my view, the current implementation certainly made more sense and was less magic. -- Waylan Lim

Re: Newforms clean_data

2006-12-29 Thread Waylan Limberg
_valid() and contact_form.is_valid() : u.first_name = personal_form.clean_data['first_name'] -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Screencast: Django + Aspen = Stephane (was Re: pure-HTTP deployment?)

2006-12-21 Thread Waylan Limberg
look more closely. The way I see it, the screencast is just to wet our appetite for more. Unfortunately there isn't more AFAICT. -- ---- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Is there an easy to "humanize" a list?

2006-12-20 Thread Waylan Limberg
On 12/20/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: Waylan Limberg wrote: > Not that we need another way but this would work as well, and it > doesn't need special cases for one and two item lists but does insert > the "and" (unlike most of the solutions offered): &

Re: Is there an easy to "humanize" a list?

2006-12-20 Thread Waylan Limberg
uot;and" (unlike most of the solutions offered): def humanize_list(list): return ", and".join(map(str, ", ".join(map(str, list)).rsplit(',',1))) -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because y

Re: Strange django-admin.py behaviour

2006-12-20 Thread Waylan Limberg
utable, which meant that I'd just call "django-admin --version" from aywhere in the filesystem and it used to work before the update.] Anyone able to shed some light on it? Thanks, Cam > -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--

Re: Noob: is there a complete library reference somewhere?

2006-12-18 Thread Waylan Limberg
ting of > available modules, objects, attributes, etc, with just the bare > minimum text for each to explain what it is. There's always pydoc: http://docs.python.org/lib/module-pydoc.html -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You receiv

Re: Switching branches (was "Schema Evolution code")

2006-12-15 Thread Waylan Limberg
On 12/15/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 12/15/06, Waylan Limberg <[EMAIL PROTECTED]> wrote: > > No mention of the cross-platform path files? I would say they are > > easier to edit (comment/uncomment a line in a file) than symlink and &g

Re: Paths in Python 2.5

2006-12-15 Thread Waylan Limberg
ply vanishing. (replies seem to be reliable) > > Please forgive my frustration It would seem that Python's most frustrating , and yet least documented feature for newcomers is the path. Once you get past that it'll get easier. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~

Re: Switching branches (was "Schema Evolution code")

2006-12-15 Thread Waylan Limberg
honmac.org/archives/2005/02/06/using-pth-files-for-python-development/ -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Help with get absolute url

2006-12-14 Thread Waylan Limberg
is working right. -- Waylan Limberg [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 unsubs

Re: manage.py - "test" not a known action - how do I do unittests?

2006-12-14 Thread Waylan Limberg
ages is automatically added to your path. That's a python feature - and the best place for third part packages. I would suggest moving/deleting that egg. Until you do, you'll (almost) always get that version of django. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---

Re: manage.py - "test" not a known action - how do I do unittests?

2006-12-13 Thread Waylan Limberg
on your system. My guess is you have multiple copies and its using the wrong one. ./manage.py --version should return `0.96-pre` not 0.95 Check your Pythonpath to make sure it's pointing at the right Django source. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~--

Re: Problem setting up a separate media server

2006-12-13 Thread Waylan Limberg
On 12/13/06, Tipan <[EMAIL PROTECTED]> wrote: > > > > On Dec 13, 1:58 pm, "Waylan Limberg" <[EMAIL PROTECTED]> wrote: > > On 12/13/06, Tipan <[EMAIL PROTECTED]> wrote: > > > > http://192.168.1.9:3000/gobites.jpg;> > > > &g

Re: Problem setting up a separate media server

2006-12-13 Thread Waylan Limberg
0) which then proxies any non-static requests on to the server running Django (on some random port). That would avoid the above problem. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Help with get absolute url

2006-12-13 Thread Waylan Limberg
006/11/16/django-tips-get-most-out-generic-views -- Waylan Limberg [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-u

Re: Auto generate url patterns

2006-12-08 Thread Waylan Limberg
urn Http404 if there is no matching url in db. Remember views are just normal python code so you can do pretty much anything you want as long as you eventually return an httpresponce -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received

Re: Django and mod_python issues

2006-12-05 Thread Waylan Limberg
y, you may want to include both lines. That way, `myproject.settings` will still work and you will be able to `import myapp` instead of `import myproject.myapp` making your apps more portable across projects. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You r

Re: [importError] No module name py. Newby

2006-12-05 Thread Waylan Limberg
here so we can see what may be causing the problem. > > > The path to d:\webdev\python is just fine and the welcome screen > displays just fine. > > > > > -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received

Re: Apache ErrorDocument Question.

2006-12-01 Thread Waylan Limberg
Paul Childs wrote: > It looks like I am going down the wrong path. I think that what I > observed was by design since Django is handling the request. > > I think the question should be... > > How do I handle the 413 error within Django? > > Any help would be greatly appreciated. > > You'll

Re: How should I store credit cards for offline processing

2006-12-01 Thread Waylan Limberg
Noah wrote: > It's only for a couple weeks or so until actual online processing > without storing the cards is implemented. It's also fairly likley there > won't be a single order taken IMO... > At the very least make sure you fully disclose that to any potential customers up front. Of

Re: Opera & caching

2006-11-29 Thread Waylan Limberg
headers > > I don't use Django framework. > > Do you have some advice? > > > Thank you > Regards > > Michal > > > > > -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you

Re: What is __init__.py for?

2006-11-19 Thread Waylan Limberg
is is a Python thing, not just a Django thing. A quick search turned up this explanation: "The __init__.py files are required to make Python treat the directories as containing packages..." For more detail, read the rest here: http://www.python.org/doc/2.1.3/tut/node8.html#SECTION0084000

Re: Acces to model object inside model

2006-11-17 Thread Waylan Limberg
your example you want to access "table wide" data. That would be were Model Managers come in. [1]: http://www.djangoproject.com/documentation/model_api/#id6 [2]: http://www.djangoproject.com/documentation/model_api/#managers -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~--

Re: Hiding directories from Django?

2006-11-15 Thread Waylan Limberg
ation for each dir that you do not want served by django. You should be doing this for media already. See this page: http://www.djangoproject.com/documentation/modpython/#serving-media-files So, for the forum dir do: SetHandler None > Many thanks! > > > > > -- Waylan Limberg [EMAIL P

Re: Template Loader for PHP files

2006-11-08 Thread Waylan Limberg
templates. [1]: http://www.djangoproject.com/documentation/templates_python/#loading-templates [2]: http://www.djangoproject.com/documentation/templates_python/#loader-types [3]: http://www.djangoproject.com/documentation/templates_python/#the-template-dirs-setting -- Waylan Limber

Re: Please whitelist me!!!

2006-11-03 Thread Waylan Limberg
developers/browse_thread/thread/73adcd35547d150 -- Waylan Limberg [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-u

Re: Forms trouble: Extra object ID appended to form action URLs

2006-11-03 Thread Waylan Limberg
gets past the > 404. > My guess is that your use of get_object_or_404 is covering the real error. Try commenting out that line and accessing your object directly ( I'm guessing something like this: o=MyObject.objects.get(pk=object_id) ) and see what errors you get. That should give you

Re: Sharing models between apps

2006-10-30 Thread Waylan Limberg
Rating(models.Model): photo = models.ForeignKey(Photo) # the rest of your model ... I'm not sure exactly what you have in mind, so a many-to-many or one-to-one field may be more appropriate there, but that should get you started. -- Waylan Limberg [EMAIL PROTECTED] -

Re: AJAX

2006-10-30 Thread Waylan Limberg
.b-list.org/weblog/2006/07/02/django-and-ajax And for some examples see the wiki and these articles: http://www.b-list.org/weblog/2006/07/31/django-tips-simple-ajax-example-part-1 http://www.b-list.org/weblog/2006/08/05/django-tips-simple-ajax-example-part

Re: directed graph in default admin

2006-10-27 Thread Waylan Limberg
e a coincidence of a poorly written example in which case you can ignore me. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: status of authentication updates?

2006-10-25 Thread Waylan Limberg
re to offer feedback - both good and bad. -- Waylan Limberg [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

Re: Help with List_display in Admin class

2006-10-23 Thread Waylan Limberg
lf.fullname','city_address','postcode') > pass > > Just understand that you can no longer sort by that column in admin. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Import issue using signals.py

2006-10-19 Thread Waylan Limberg
rted to > putting the "update_review_average" into the models.py - which has > created a new set of problems (see new post). > > As a newbie, I'm struggling to make much headway - guess it's not my > day! > > MerMer > > > > > -- Waylan Limberg

Re: JSON serialization and non-model classes

2006-10-18 Thread Waylan Limberg
; > So, if anybody can tell me whether it's possible to create a "custom" > datastructure and serialize that over the wire as a JSON string, I'd > appreciate it very much. Within your view, create your "custom" datastructure in python. When you have everything you want

Re: Choosing a format for built-in comments

2006-10-16 Thread Waylan Limberg
on't overwrite your changes. -- Waylan Limberg [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

Re: Choosing a format for built-in comments

2006-10-12 Thread Waylan Limberg
this? I'm actually a Django newbie, so don't blame me > if the answer is trivial. First add a field to your model with the choices of formats available. Then, in your template, use if statements to check which format was selected and display the comment with the proper filter. -- W

Re: writing templatetag in database?

2006-10-12 Thread Waylan Limberg
t; for my sidebar templatetags within the db (that´s kind of strange). Thats correct. Any load tags do not carry over from the parent template when included. That behavior is by design. > > thanks, You're welcome -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~

Re: writing templatetag in database?

2006-10-10 Thread Waylan Limberg
On 10/10/06, Waylan Limberg <[EMAIL PROTECTED]> wrote: [snip] > Although, I'm not sure how you would pass the > current user to the loader. Just rethinking my answer. I would probably go with a custom templatetag instead. You already have the text of the sidebar template (

Re: writing templatetag in database?

2006-10-10 Thread Waylan Limberg
2 [2]: http://groups.google.com/group/django-users/browse_thread/thread/28a15de5843711d8 -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: Django and Ajax

2006-10-10 Thread Waylan Limberg
find various solutions posted in the wiki [1]. But the best (most complete) writeup I've seen is by James Bennet [2] & [3]. [1]: http://code.djangoproject.com/ [2]: http://www.b-list.org/weblog/2006/07/31/django-tips-simple-ajax-example-part-1 [3]: http://www.b-list.org/weblog/2006/07/31

Re: django - kit

2006-10-09 Thread Waylan Limberg
- python > 2 - lighttpd > 3 - flup > 4 - django > > then I have to do all the configuration work to make them happy togheter! ;) > > What I'm searching is a tool or a script or also some direction to > build this "package" myself. > Sorry if I speak in a bad way

Re: Can I pre-populate fields in the admin interface?

2006-10-06 Thread Waylan Limberg
t; > Can I do it? If so, how? > http://www.djangoproject.com/documentation/model_api/#default -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: how could i weakly protect comments

2006-10-04 Thread Waylan Limberg
eblog/2006/07/16/django-tips-hacking-freecomment -- Waylan Limberg [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 dja

Re: Support for db declaration of "on cascade delete"?

2006-10-04 Thread Waylan Limberg
name-appname > > I'm developing an application that is mostly using Django to touch my > DB, but that defines some SQL stored-procedures for manipulation of some > of its data by other clients. I'd like the db-level "on cascade delete" > defined for these cases. >

Re: Use my own template system?

2006-10-04 Thread Waylan Limberg
eral enough to apply to any templating system. In fact, my answer above basicly paraphrases a couple paragraphs from that thread. [1]: http://groups.google.com/group/django-users/browse_thread/thread/2e5746bdd3ef3efe/ -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~--

Re: global template tags

2006-10-04 Thread Waylan Limberg
as just answered the other day: http://groups.google.com/group/django-users/browse_thread/thread/49e9669c64e353b2/ -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: contrib comment system

2006-10-03 Thread Waylan Limberg
-freecomment On 10/3/06, Onno Timmerman <[EMAIL PROTECTED]> wrote: > > Is there somewhere some docs on the comment system in the contrib. > > Onno > -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message becau

Re: Re: Cannot get Many to Many Relationship To work - "name" not defined error message

2006-10-03 Thread Waylan Limberg
up from time to time on the list. Of course, this page [1] already provides a decent list, but perhaps a list more specific to the skills needed for Django would be helpful as well. Although, is there really any difference in the skills needed? Maybe not. [1]: http://www.python.org/doc/ --

Re: Need help understanding Custom Views

2006-10-02 Thread Waylan Limberg
between the two from within a view because I > don't know how. I've been working on it today...still...little progess. You should probably get the code that submits the data working first. Try something similar to the examples provided above right in the python shell. When you find code that wo

Re: Need help understanding Custom Views

2006-10-02 Thread Waylan Limberg
it's the response part that I'm having trouble with. > Do you mean that you do not understand how to pass the data to the template for display, or something else? -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because

Re: Confused: staff / active users

2006-09-27 Thread Waylan Limberg
e that out. the "non-active" user stuff applies here as well. Hope that helps clear the fog. :-) -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: Project Layout When Using Multiple Sites, Revisited

2006-09-25 Thread Waylan Limberg
monsettings import * Of course, this assumes the file myproject/commonsettings.py -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Python 2.5 anyone

2006-09-21 Thread Waylan Limberg
sqlite3 wrapper, see [2]. [1]: http://code.djangoproject.com/ticket/2772 [2]: http://docs.python.org/dev/whatsnew/modules.html#SECTION000144 -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because yo

Re: How to make django use psycopg2 as the default engine?

2006-09-19 Thread Waylan Limberg
s in various cases. You may want to search the list for specifics. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: Portlet like features

2006-09-19 Thread Waylan Limberg
gt; See this [1] wikipage for a list of various solutions (twisted among them) that could give you a multi-threaded webserver. [1]: http://code.djangoproject.com/wiki/ServerArrangements -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received thi

Re: Problem with INSTALLED_APPS setting

2006-09-18 Thread Waylan Limberg
On 9/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Waylan Limberg wrote: > > First, you only point to the app, not the models in your app. Second, > > you need to start from a place that is on your pythonpath. If liger is > > on your pythonpath, then j

Re: Pro Django from Apress

2006-09-18 Thread Waylan Limberg
this question has been asked and answered to varying degrees a few times before. If memory serves me right, the authors seem to think that October is overly optimistic and it will more likely be latter. -- ---- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~

Re: Problem with INSTALLED_APPS setting

2006-09-18 Thread Waylan Limberg
project.liger or import liger Experiment with your path till you find something that works. Whatever works is what you should use in INSTALLED_APPS. -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subs

Re: Forms with error reporting

2006-09-13 Thread Waylan Limberg
n in the dev-list regarding a proposal for reworking form validation. I don't recall if such a thing was part of the proposal, but now's the time to add your input. [1]: http://groups.google.com/group/django-developers/browse_thread/thread/7eceb616b251cbd0/ -- Wayl

Re: switching to mod_python

2006-09-11 Thread Waylan Limberg
is included in the python path, then myapp is on the path. However, when run through mod-python, unless you explicity add myapp to your pythonpath, it won't work. If you don't want to explicitly name the project from within your apps (for more modular apps) then include each app in your path settings

Re: Creating class object in template tag?

2006-09-01 Thread Waylan Limberg
ld check some of the source code that has been made available for ideas.(you'll have to do some searching, it doesn't look like anyone has compliled a list of those on the wiki - unless I missed it) -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~

Re: group traffic

2006-09-01 Thread Waylan Limberg
s). And with google groups, you still get the benefits of a forum for those who don't want to use email. They can read and reply right on the site. Now if someone added the abilty for a certain forum package to also act like a mailing list, that would be something to

Re: MySQL backend patch

2006-08-31 Thread Waylan Limberg
igrate at all. I'd hate to see something that greatly limits the ability for people to use django just because they can't afford/don't need top of the line hosting. -- ---- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because

Re: User Registration weirdness. Ian, help!

2006-08-25 Thread Waylan Limberg
On 8/25/06, Waylan Limberg <[EMAIL PROTECTED]> wrote: > On 8/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > [snip] > > > > I've gone through and stripped out every extra space I can find, > > thinking that was the problem, but still that dang

Re: User Registration weirdness. Ian, help!

2006-08-25 Thread Waylan Limberg
s to links. The user may not select and copy the second line as part of the url... -- Waylan Limberg [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

  1   2   >