>> I'm the guy that started this thread and had pledged to take the lead
>> on this. Ironically, I'm also the guy who started the recent thread
>> "Why I'm giving up on Django". So for now, it looks like I'll be
>> taking an indefinite hiatus from Django dev.
>
> just curious - did you indulge in
Hi,
I'm the guy that started this thread and had pledged to take the lead
on this. Ironically, I'm also the guy who started the recent thread
"Why I'm giving up on Django". So for now, it looks like I'll be
taking an indefinite hiatus from Django dev.
If someone wants to take this idea
Hi Guys,
I just wanted to share with the community my personal experience with
Django in the hopes that maybe some of my petty gripes might be
somehow helpful. Before doing that, I have to thank everyone in the
community for being so helpful and just so damn nice! Thanks so much
to all
eManipulator(place_id)
> 2. place = manipulator.original_object
> 3. new_data = manipulator.flatten_data()
>
> nr. 3 has been changed in the docs recently:
> see http://www.djangoproject.com/documentation/forms/#using-the-
> changemanipulator
>
> patrick
>
>
>
Using a custom manipulator, I'm trying to populate my form with
existing data. But I can't get the data from the FK tables to show up.
Here's a simplified example:
Group
name
Member
first_name
last_name
So let's say a Group can only have up to 6 members. And I have
Anyone? Please? My project is stalled until I learn how to do this
and it's no where in the docs. I'm dead in the water until someone
takes pity on me and explains how to do this.
> Let's say I have a form called add-new-group.html that looks like
> this:
>
> Group Name: __
Let's say I have a form called add-new-group.html that looks like this:
Group Name: __
Member 1 --> Name:___ Age:
Member 2 --> Name:___ Age:
Member 3 --> Name:___ Age:
So when the form is saved, it needs to save the new group to the
When submitting a simple form with just a name and a file, Safari
hangs while submitting the form. If I click the submit button again,
it usually works on the second or third click (totally inconsistent).
In Camino, it submits every time flawlessly. What the FiretrUCK?
Sean
Code
Right, rebuilding Apache 1.3 with mod_proxy looks like the only
viable option at this point. I just wanted to see if anyone else had
gone through this dilemma before and had some better ideas.
Anyone? Django vs CPanel experience?
:-)
Sean
On Sep 15, 2006, at 3:49 PM, Ian Holsman wrote:
Hi Jeff,
I defected to Django from Rails and so far I'm loving it.
But it really depends on what you need to do. If you're creating a
single monolithic application, Rails is pretty sweet. I did a giant
invoicing/accounting application for an insurance company in Rails.
It handles tens of
apps contributions?
Also, more thoughts on how you'd like to see this implemented would
be much appreciated. How would you like this site to work? What
features do we need at a minimum?
Thanks!
Sean
On Sep 9, 2006, at 12:33 PM, Jeff Forcier wrote:
>
> Sean Schertell wrote:
>>
Funny how in a "room" full of web developers, lots of us have
bandwidth and servers for hosting this stuff. ;-)
But what about the actual stuff? So far we've got a couple people
willing to contribute an app or two. And as I've said, I've got three
I can put in to get started. I run a
I'm willing to invest the time and bandwidth to get this thing off
the ground. And it sounds like a lot of folks would be happy to have
such a repository. But if we want to make it work, it has to have
some content from the very beginning. So how many of you actually
have code that you
Very interesting points. Does anyone have any thoughts on using
Google code hosting for this idea? Anyone know off the top of their
heads whether or not we'd be able to create a Django "category"
within Google or would it just sort of be lumped in with all the
other Python stuff?
Sean
Hey thanks for all the positive feedback on this. It seems like lots
of folks share my sentiments. That's nice :-)
It would be really nice to hear the devs' thoughts on the subject.
Adrian, Jacob, Simon? A penny for your thoughts?
Ironically, the whole point of this idea is to avoid
I wonder how many of us are writing nearly identical apps at any
given time. For example, I just hired a guy to write a really basic
newsletter app for my project. Now I'm working on a fairly typical
"upcoming events" schedule. And soon I'll be working on a simple
photo gallery that makes
Thanks so much for your help Ryan. Unfortunately though, I think I'm
missing some crucial bits of detail here so I still have a couple
basic questions:
(1) Where should my custom manipulator code live? I would think it's
in the view, since it really is view code after all. But maybe the
When writing custom manipulators, how do I associate my model with it?
Using standard manipulators, I do something like this:
manipulator = MyModel.AddManipulator()
But for custom manipulators, I do something like this:
manipulator = MyManipulator()
So, if I later do a manipulator.save(), how
> On 9/3/06, Jakub 'teodor' Krajniak <[EMAIL PROTECTED]> wrote:
>> Sean Schertell wrote:
>> (...)
>>> The question is, how can I get those three menus to create a single
>>> date object that plays nice with Django?
>>
>> I think that writ
Thanks for the tips folks. I'm a little surprised that Django makes
you work so hard to make such a totally standard form element (a date
as three pulldown menus). Is there really no easier method?
Sean
On Sep 3, 2006, at 1:31 AM, Jakub 'teodor' Krajniak wrote:
>
>
> Sean Schert
Sorry, perhaps someone can clarify this for me -- or maybe I didn't
ask my question very clearly.
I have a model called Event. In that model, I have a line that looks
like this:
date = models.DateField()
In my view, I'm using FormWrapper and that automatically makes a text
field for the
Hi,
My model has a date field in it and I want to collect that data in my
form with a more traditional method than the default text field that
the FormWrapper generates. I want to use three select menus with
month/date/year pulldowns. What the best way to do this while keeping
my model
I'm new to Python but not new to programming. I picked up this book
recently and couldn't be happier:
Beginning Python:
http://www.amazon.com/Beginning-Python-Novice/dp/159059519X/sr=8-4/
qid=1156946981/ref=pd_bbs_4/002-6713626-9604860?ie=UTF8
You said you're not new to Python but I wouldn't
Thank you! I did read the template docs but I missed that one. Works
great!
:-)
Sean
On Aug 30, 2006, at 6:30 PM, Kenneth Gonsalves wrote:
>
>
> On 30-Aug-06, at 2:45 PM, Sean Schertell wrote:
>
>> Obviously this doesn't work because you can't use "==" in templa
How can I display different things in my template depending on the
value of a single column in my database?
For example:
{% for e in events %}
{% if e.status == '1' %}Buy
Tickets{% endif %}
{% if e.status == '2' %}SOLD OUT!
{%
On Aug 23, 2006, at 5:32 PM, Reinhard Knobelspies wrote:
Thanks for all your help so far everyone. So I'm still in search of
answers to these questions:
(2) The 24 hour clock widget doesn't work for me. This is a nightclub
so shows are almost always listed as 7:00pm or 12:30am etc. (am/pm).
Hi Guys,
A few things I'm trying to figure out -- any pointers would be great!
(1) My model includes an Event class. Events should be displayed
using the date as their name. So the name of the event might be
"August 25th, 2006". But if I add a def(self): __str__(self.date) to
the class, I
I need.
Sean
On Aug 22, 2006, at 8:55 AM, Bryan Chow wrote:
>
> On 8/21/06, Sean Schertell <[EMAIL PROTECTED]> wrote:
>> ... I need my client to be able to upload some images in
>> the admin section, then have Python do some resizing
>> and cropping behind
I'm trying to decide whether to build my own admin section or use the
free one.
The thing is, I need my client to be able to upload some images in
the admin section, then have Python do some resizing and cropping
behind the scenes. Do I need to make my own admin section for this?
Or is
of
variables there is the better way to go after all.
Thanks for the tips.
Sean
On Aug 18, 2006, at 5:28 PM, Malcolm Tredinnick wrote:
>
> On Fri, 2006-08-18 at 12:14 +0900, Sean Schertell wrote:
>> Hi folks,
>>
>> Okay, so I got my little staticpages app working (thanks a
Hi folks,
Okay, so I got my little staticpages app working (thanks adrian), and
now I can happily throw sometemplate.html in my templates/ directory
and I can view the page at mysite/sometemplate. Great! And it extends
my base.html template too so all my header/footer stuff is DRY. Hooray!
Thanks Malcom :-)
On Aug 18, 2006, at 10:58 AM, Malcolm Tredinnick wrote:
>
> On Fri, 2006-08-18 at 09:51 +0900, Sean Schertell wrote:
>> Yay!!! It works like magic!
>>
>> Would anyone be so kind as to reveal the mysteries of this "Context
>> ()" f
at 8:34 AM, Adrian Holovaty wrote:
>
> On 8/17/06, Sean Schertell <[EMAIL PROTECTED]> wrote:
>> --- modulalib/views.py ---
>> http://rafb.net/paste/results/fzWg1g26.html
>
> The problem is in the staticpages() function. Specifically, the
> default value for the
>> But django barfs up this error:
>> -
>> AttributeError at /
>> 'NoneType' object has no attribute 'push'
>> -
>
> Let's see the index template. :)
Thanks jeremy, here's the index template:
http://rafb.net/paste/results/X5LCeK54.html
Hi guys,
I'm trying to get my first django project off the ground but I've hit
snag that I can't seem to get around. I've made a base.html template
and an index.html template that extends the base (pretty standard
stuff I think).
But django barfs up this error:
Hey guys,
I hope I'm not the only schmuck to arrive so late to the "sort by
thread" party. If any of you folks have a "django" mailbox for this
mailing list in OS X Mail and you haven't tried using the sort
message by thread feature -- you're really missing out!
Just select your django
>
> On Wed, 2006-08-16 at 08:56 +0900, Sean Schertell wrote:
> [...]
>> Here's the type of thing I'm after:
>>
>> shared_apps/
>> mysuperblog
>> mysuperforum/
>>
>> sites/
>> mysite1/
>> base/
>&g
I'm still not clear about the best way to organize my site
directories. Can you kind folks please share your strategies?
If possible, I'd like to keep my site bundled together -- I'm
particularly allergic to the idea of storing all my sites templates
off in a separate dir somewhere. To my
Wow! Ask and ye shall receive!
TemplatePages is *precisely* what I was looking for :-)
I can't wait to get to the office and try it out. Yay!
Sean
On Aug 16, 2006, at 6:33 AM, Bryan Chow wrote:
>
> On 8/15/06, Sean Schertell <[EMAIL PROTECTED]> wrote:
>> I'd really
Hi guys,
I mostly create pretty boring websites with little apps built-in. For
example, a 6 to 10 page website full of static pages about a company,
plus a couple of small apps -- maybe a blog or a custom photo gallery.
I'm very excited about Django's approach toward keeping apps/
Thanks guys! Very helpful tips :-)
Sean
On Jul 25, 2006, at 6:03 PM, Ivan Sagalaev wrote:
>
> Sean Schertell wrote:
>> In the tutorial, it says to not keep your app in the document root
>> for security reasons. Okay that makes sense. But what *does* go in
>> the docum
In the tutorial, it says to not keep your app in the document root
for security reasons. Okay that makes sense. But what *does* go in
the document root?
I generally like to do things like this this:
projects/
foo.com/
application/
public/
bar.com/
Thanks all, I'm leaning towards "Beginning Python: From Novice to
Professional". The Amazon reviews sound right up my alley. Anyone had
any experience with this one?
Sean
On Jul 23, 2006, at 3:11 PM, Alessandro Bottoni wrote:
>
> Sean Schertell ha scritto:
>> An
Hi guys,
I've downloaded Dive into Python and it looks good. But I need
something I can read on the subway or in the bathtub. Something I can
dog-ear and highlight -- a real book!
Any recommendations? I'm brand new to Python and want to learn for
use with Django.
Thanks!
Sean
Thanks everyone for your input. So far I'm really pleased with what I
see. I'm gonna take Django for a test drive on a website project I'm
about to start now and see how it goes -- but I do get the feeling
I'm falling in love :-)
The one thing I think I may miss about Rails most is Ruby.
Thanks so much for your reply Adrian! Can you also please comment a
bit on how well Django works in a shared environment?
> How about memory footprint? Can I run 100+
> Django sites on a shared server and expect smooth sailing?
Thanks!
Sean
Greetings Djangoers,
I'm thinking of defecting from the Ruby on Rails camp because I think
Django may be more in line with what I want to do. If you have a
couple minutes, could you please tell me if I'm on the right track?
What I want to do
===
Basically, I want to
47 matches
Mail list logo