On Thu, Aug 13, 2009 at 12:51 PM, ashish tiwari wrote:
>
>
> when i try to run the "django-admin.py" file in my pardus linux system
> than i got the error"c:\python25\python.exebad interpreter"
> something like this...
> i enter the command "whereis django-admin.py"
> and i got the path w
when i try to run the "django-admin.py" file in my pardus linux system
than i got the error"c:\python25\python.exebad interpreter"
something like this...
i enter the command "whereis django-admin.py"
and i got the path where it is present...
i open the .py file of django-admin.py from usr/
On Wed, 2009-08-12 at 20:05 -0700, Kevin Henry wrote:
[...]
> But if you decide to customize the widget, for example:
>
> class AuthorForm(forms.ModelForm):
> name = forms.CharField(widget=forms.TextInput(attrs={'size':80}))
>
> class Meta:
> model = Author
>
> the form field no
Take a simple Model and ModelForm like this:
class Author(models.Model):
name = models.CharField(max_length=80, blank=True, default="Joe",
help_text="A name")
class AuthorForm(forms.ModelForm):
class Meta:
model = Author
The resulting form will reflect the desired help text, de
Sigh! I guess I sent this out a little prematurely.
On Wed, Aug 12, 2009 at 3:50 PM, Waylan Limberg wrote:
[snip]
>
> 2. Implement ticket #11625 -- Add admin actions to the comments admin.
>
[snip]
>
> 3. Using a proxy model and custom manager, create a second admin
> instance which only lists co
On Aug 12, 3:08 pm, Malcolm Tredinnick
wrote:
> One of the reasons we *don't* delete files automatically [...snip]
Just a correction: Django currently *does* delete files automatically
when a model instance is deleted.
--~--~-~--~~~---~--~~
You received this messa
On Aug 12, 12:20 am, Alex Gaynor wrote:
> Personally I think including
> a JSON dump of the model with the page is the easiest solution, but I
> could be convinced otherwise.
I have made a little bit of progress:
I already had a subclass of forms.ModelForm. I added a form field,
overrode over
On Aug 12, 5:08 am, Malcolm Tredinnick
wrote:
> This is an assumption that isn't universally correct and it's
> implications appear to be vastly under-appreciated. One of the reasons
> we *don't* delete files automatically is that you cannot you know for
> certain, given no other information, tha
I'm not sure if this is the place but here are some other issues or
questions I have if this were to happen...
* The jQuery question is a big one. I've taken strides to make the
debug toolbar interoperate with other popular JS frameworks (mootools
and prototype, namely). But if jQuery were deci
Currently, contrib.comments has a very useful (and customizable) mechanism
for putting questionable comments into moderation. However, approving/
rejecting comments afterword is still unfinished. There is a set of
urls/views/templates which provide a decent way to do this, but it is
currently undo
Previously accidentally posted to the Django users group instead of
here. Sorry!
http://code.djangoproject.com/ticket/7539 suggests a way to add On
Delete and On Update support to Django foreign key fields, and includes
a patch that implements the suggestions. At the time I submitted it,
getti
On Wed, Aug 12, 2009 at 10:19 AM, Joshua Russo wrote:
> Why is it that Super is only used sometimes in the __init__ methods of the
> existing widgets? Is this by design? I thought that if you used Super
> anywhere you had to use it everywhere, otherwise the one place you do use it
> wouldn't behav
Why is it that Super is only used sometimes in the __init__ methods of the
existing widgets? Is this by design? I thought that if you used Super
anywhere you had to use it everywhere, otherwise the one place you do use it
wouldn't behave the way you anticipate. That is, if anyone ever uses
multiple
LOL.
>
> Hi Django peeps
> If you are interested in the startup world and becoming a partner on
> a new start up initiative in the NYC area, please email me directly.
>
> We are looking for ONE serious startup person with interest in
> entrepreneurship.
> If you can not commit to becoming part of
Hi,
I just wanted to mention there still is ticket #7048 "Support clearing
FileFields with ModelForms" [1], which also deletes files, if
configured to do so. I don't think this is particularly evil, if off
by default (which it is not in the current patch, but that's easy to
change).
This was ori
On Aug 12, 12:17 am, David wrote:
> On Aug 12, 12:06 am, Russell Keith-Magee
> wrote:
>
> > Another cause for hesitation is that it would be an admin-specific
> > solution to the problem. A generic solution that would work for all
> > ModelForms would be nice if it is possible.
>
> Agreed. I sha
On Wed, Aug 12, 2009 at 8:03 AM, Russell Keith-Magee wrote:
>
> On Wed, Aug 12, 2009 at 9:45 AM, SmileyChris wrote:
> >
> > http://code.djangoproject.com/ticket/11461
> >
> > DebugNodeList catches all exceptions, sticks them in a
> > TemplateSyntaxError, and stuffs the original exception in the n
Hi Django peeps
If you are interested in the startup world and becoming a partner on
a new start up initiative in the NYC area, please email me directly.
We are looking for ONE serious startup person with interest in
entrepreneurship.
If you can not commit to becoming part of a team and a core me
Hi!
Some time ago I have proposed a patch for Group admin, that allows
direct addition of users to the group. Here is the link to the ticket:
http://code.djangoproject.com/ticket/10964 There is status 'Design
decision needed', so I would like to ask about it, so I could either
close it or try to
On Wed, Aug 12, 2009 at 9:45 AM, SmileyChris wrote:
>
> http://code.djangoproject.com/ticket/11461
>
> DebugNodeList catches all exceptions, sticks them in a
> TemplateSyntaxError, and stuffs the original exception in the new
> exception. I'm not sure why this is done, but it breaks debugging and
On Wed, 2009-08-12 at 03:04 -0700, Waldemar Kornewald wrote:
> On Aug 12, 11:40 am, Malcolm Tredinnick
> wrote:
> > On Wed, 2009-08-12 at 02:32 -0700, Waldemar Kornewald wrote:
> > > Is there a way to override sql.subqueries?
> >
> > Not yet. As mentioned earlier in the thread, a large chunk of t
On Tue, Aug 11, 2009 at 11:59 PM, Rob Hudson wrote:
>
> On Tue, Aug 11, 2009 at 7:01 AM, Russell
> Keith-Magee wrote:
>> Firstly, there is the simple issue of ownership and copyright.
>> Obviously, those that have written DDT components that are to be
>> included need to be onboard with this idea.
On Aug 12, 11:40 am, Malcolm Tredinnick
wrote:
> On Wed, 2009-08-12 at 02:32 -0700, Waldemar Kornewald wrote:
> > Is there a way to override sql.subqueries?
>
> Not yet. As mentioned earlier in the thread, a large chunk of the
> process of making non-SQL support is to allow wholesale overriding o
On Wed, 2009-08-12 at 02:32 -0700, Waldemar Kornewald wrote:
> On Aug 12, 2:09 am, Russell Keith-Magee
> wrote:
> > > Is the consensus that further refactoring or rethinking of things like
> > > QuerySet and Query are required to make this happen?
> >
> > Not really a consensus - more a general f
On Aug 12, 2:09 am, Russell Keith-Magee
wrote:
> > Is the consensus that further refactoring or rethinking of things like
> > QuerySet and Query are required to make this happen?
>
> Not really a consensus - more a general feeling that there are some
> SQL-specifics that still need to be purged.
Hi Chris,
Found the same problem after broken module import at urlresolvers.py:
raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" %
(func_name, mod_name, str(e))
I guess this solution is not known to patch creators?
I didn't know about this solution, and I thought it is impossible
26 matches
Mail list logo