if you are using gmail, you can set up a filter to put all django
related stuff to a specific label, even skip the inbox so that it
wouldn't interfere with your normal mail...
just search for django-developers@googlegroups.com in To: field...
that should do the trick...
(if you are using some ot
On 03/01/07, Honza Král <[EMAIL PROTECTED]> wrote:
if you are using gmail, you can set up a filter to put all django
related stuff to a specific label, even skip the inbox so that it
wouldn't interfere with your normal mail...
just search for django-developers@googlegroups.com in To: field...
t
On 12/30/06, Waylan Limberg <[EMAIL PROTECTED]> wrote:
On 12/29/06, Vadim Macagon <[EMAIL PROTECTED]> wrote:
>
> Adrian Holovaty wrote:
> >
> > Would it help if the form automatically called its validation the
> > first time you accessed form.clean_data? I'm trying to decide whether
> > that wou
Hi all,
http://www.webdd.org.uk/
Are any Django users going to be attending WebDD? It's on February the
3rd, at the Microsoft Campus in Reading (here:
http://tinyurl.com/wgaz8). It's a free one-day event. From their
website:
"The mantra behind the conference is that currently there is no focus
Many thanks Honza!
I modified my Form class as follows (this is the complete form class,
not just a fragment...sorry for all of the choppy lines. Trying to
keep from wrapping in the wrong place):
class AddEditContactHistoryForm(forms.Form):
customer_id = forms.Field(
widget=forms.Hid
Adrian I have been experimenting with the SelectDateWidget and I have
noticed one bit of strange behavior. Wondering if I'm using it
incorrectly.
My original element in the form class is this:
date_opened = forms.DateField(initial=date.today())
This works as expected and if the data supplied
Still a newbie so bear with me..
I'm starting to get into forms, which are pretty easy with
manipulators.
I'm wondering though, would it be possible to use ONE form for add,
view and update? If so, what would I need to do, meaning, obviously
two of them have a post, the others dont.
Is this a
Download the software and Call any phone anywhere across the globe
Free! - http://surl.in/HLGB7238206SVRAKSX
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email t
On 1/3/07, gordyt <[EMAIL PROTECTED]> wrote:
date_opened = forms.DateField(
initial=date.today(),widget=SelectDateWidget)
This does render the composite widget just fine, but it will not use a
date_opened value that is supplied with the form class is instantiated
and so displays the error s
Antti - can you give us some more information to help you? It looks like
you're running a development server. Is that correct? Did you just start it
with "django-admin.py runserver" or something else?
It looks like it was trying to throw an exception when it dumped out
unhappily. The exception th
Hi guys!
I'm not very familiar with pg_hba.conf file but with your help I will
:D
Thanks for help!
--
Michel Thadeu Sabchuk
Curitiba/PR
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To pos
Create a form where if it's new, it's blank and has a "create" button
that makes the thing. If you are viewing, fill in the form with the
existing info with an "update" button. You can also add a "delete"
button to the view/update version if you want.
This is just a couple of conditionals real
The djangoproject.com site itself seems to use flatpages with the
content entirely in the template.
For example,
http://code.djangoproject.com/browser/djangoproject.com/
django_website/templates/flatfiles/homepage.html
doesn't reference flatpage.title or flatpage.content at all.
Assumi
Hey all. Im trying to get django up and running on my Mac (powerbook,
powerpc chip, 10.4 OSX).
I got postgresql v 8.2.0 up and going, along with Python 2.4.
I go to install psycopg to get the two communicating with one another,
and, following the directions on the SetupOnTiger
(http://code.djan
Sorry, ignore the "bold
--~--~-~--~~~---~--~~
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
On 1/3/07, Abe <[EMAIL PROTECTED]> wrote:
Hey all. Im trying to get django up and running on my Mac (powerbook,
powerpc chip, 10.4 OSX).
I got postgresql v 8.2.0 up and going, along with Python 2.4.
I go to install psycopg to get the two communicating with one another,
and, following the direc
Your path probably doesn't include pg_config on it. Step 4 in the Postgres
instructions has you adding /opt/pgsql/bin to your path - I don't have a Mac
with me to check, but is pg_config in there? If not, add on to your PATH
environment variable for where-ever its located and it should build from
Hello all,
I have a ForeignKey that may be NULL in a table editable inline, see
http://www.radix50.net/~ibr/mysite/myapp/models.py (the whole project
with the data is available at http://www.radix50.net/~ibr/mysite.tar.gz
). When I fill in the first Price in the Admin Home -> Object page,
saving
Has anyone here built a user registration app for django (including
email verification and support for password resets, etc) that is
generic enough to be shared?
In particular, I want a system that works pretty much like the
diagrams at:
http://jtauber.com/blog/2006/03/20/accoun
I made one
http://fivethreeo.dynalias.org/pages/using-userprofile-app/
But not very generic
--~--~-~--~~~---~--~~
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@
I'm afraid my stuff is pretty customized to the account extensions we used,
but we based it off the examples and conversation at
http://groups.google.com/group/django-users/browse_thread/thread/f5799bd10a7
6914c/66f7149584eeda72?q=registration+login&rnum=3#66f7149584eeda72 - which
will hopefully b
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
Or are people using template-only flatpages just going ahead and
making flatpage database records with dummy title/content just to
specify the template to use?
(and is this indeed what djangoproject.com itself is doing?)
Off the top of my head
Is there a problem in django's many-to-many relationship mapper when it
comes to selecting the related fields? In this simple example I have a
user with permissions and they are related via an intermediary table.
"select_related()" only brings back the User object and each access of
a Permission
Hello,
I had a slight problem with the DATE template filter - it incorrectly
truncates localized (in my case to 'cs-cz' locale) week names when I
wanted to get 3-char week day name - utf-8 characters got broken "at
half". A small fix for that solved the problem:
--- django/utils/dateformat.py (
Hi,
I'm fairly new to Django (first post!) and have searched for a solution
to this problem without finding anything useful - forgive me if this
has been covered before.
I'm currently working on a hybrid web/mobile app, and have hit a bit of
a stumbling block because a lot of the phones on the
Awesome, thanks for the help. I think a piece of my problem was being
new to Python as well but now I am on the right tracks. Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to
[EMAIL PROTECTED] wrote:
Create a form where if it's new, it's blank and has a "create" button
that makes the thing. If you are viewing, fill in the form with the
existing info with an "update" button. You can also add a "delete"
button to the view/update version if you want.
This is just a
Thanks, that's helpful.
It does, however, raise the question why djangoproject.com does the
homepage as a flatpage rather than direct_to_template generic view.
James
On 03/01/2007, at 7:41 PM, James Bennett wrote:
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
Or are people using t
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
It does, however, raise the question why djangoproject.com does the
homepage as a flatpage rather than direct_to_template generic view.
If I had to guess, I'd say it's because direct_to_template didn't
exist until revision 1247 of Django, and
Makes sense. I guess djangoproject.com might not be the best
production deployment of django to look to for the latest-and-
greatest way to do things :-)
James
On 03/01/2007, at 10:40 PM, James Bennett wrote:
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
It does, however, raise th
Sorry if this has been brought up before, I tried searching...
Would it be too complex/controller-y/confusing to allow sequence
unpacking in Django's for loops? As far as I can tell it isn't
supported. So for example, if I have a list...
fruits = [('apple', 10), ('orange', 5), ('banana', 7)]
The extremely popular left-leaning political website, Daily Kos, is
planning to dump their perl-based Scoop backend and start again. They
need a highly customizable CMS or framework that can handle heavy
loads.
This would be an excellent opportunity for Django to be considered if
we argue our c
you would have an html form with if's around each input if there was a
value or not or even just around the whole thing.
Now that I think about it, it might be easier to make 2 views for this
though.
--~--~-~--~~~---~--~~
You received this message because you ar
On 1/3/07, ogghead <[EMAIL PROTECTED]> wrote:
This would be an excellent opportunity for Django to be considered if
we argue our case well.
Ehh... I'm wary of communities wading in and evangelizing people they
don't know, so I'd recommend caution and care to anyone who wants to
argue the case
On 1/3/07, Honza Král <[EMAIL PROTECTED]> wrote:
I do agree that the magic would be bad - but the current state IS
confusing, would it be possible to simply
a) hide clean_data until validation has been done
b) throw some exception when accessing uninitialized clean_data
This is a good idea -
Running into a bit of an issue trying to load a custom tag in my
base.html file.
ive got
/project/templates/base.html
/project/templatetags/showmenu.py
showmenu.py
from django.template import Library, Node
from django.contrib.auth.models import User
from django.conf import settings
register =
Hi all,
here what I've got from my Apache2 error log:
[Thu Jan 04 16:07:57 2007] [notice] mod_python: (Re)importing module
'django.core.handlers.modpython'
[Thu Jan 04 16:08:06 2007] [notice] mod_python: (Re)importing module
'django.core.handlers.modpython'
[Thu Jan 04 16:34:15 2007] [notice] m
On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
here what I've got from my Apache2 error log:
[Thu Jan 04 16:07:57 2007] [notice] mod_python: (Re)importing module
'django.core.handlers.modpython'
[Thu Jan 04 16:08:06 2007] [notice] mod_python: (Re)importing module
'django.core.handlers.
Adrian Holovaty wrote:
On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> here what I've got from my Apache2 error log:
>
> [Thu Jan 04 16:07:57 2007] [notice] mod_python: (Re)importing module
> 'django.core.handlers.modpython'
> [Thu Jan 04 16:08:06 2007] [notice] mod_python: (Re)import
39 matches
Mail list logo