i use meta.EmailField('email',null=True,blank=True). in my template (is
use generic views) i will check ob email is Null or have a e-mail
text. how to ???
kd.
How about this:
(r'test/(?P[E])?/?$',
'missing.apps.persons.views.persons.test'),
it will match either /test/E or /test in the url
This one:
(r'test/(?P[\w])/+$',
'missing.apps.persons.views.persons.test'),
will match any letter character.
/test/i test/e test/x etc.
Then get the status
Hi there,
I'm writing my first Django app and trying to get the Admin(
list_display ) to display ForeignKey names. Here's how I'm trying to do
it:
class Thing(meta.Model):
fields = (
meta.CharField('name' maxlength=60, primary_key=True),
)
class Entry(meta.Model):
def __rep
All,
By popular demand, I'm about to change Django's model syntax to use
"fieldname = FieldClass" instead of "FieldClass('fieldname')". This
has been a longstanding ticket --
http://code.djangoproject.com/ticket/122.
This change is BACKWARDS-INCOMPATIBLE, so don't "svn update" your code
until yo
I'm not sure if that's quite what I'm looking for. I think I would need
to do a redirect to the generic views page from the def test, right?
I'm specifically looking to be able to do this with generic views.
Thanks, Tom
missed that,
sorry, I have not gotten to generic views yet...
6 matches
Mail list logo