hello,
I have also installed it and have seen there is this branch:
http://wiki.netbeans.org/Python#section-Python-DjangoBranch
anybody has installed this version of the branch ?
r
On Nov 20, 8:04 pm, ohmi <[EMAIL PROTECTED]> wrote:
> Same results here although other sorts of autocomplete to s
I've spend 3 days on this. Please help.
I've created the following locale to my project below:
/home/robin/myproject/locale/id/LC_MESSAGES/django.po
/home/robin/myproject/locale/id/LC_MESSAGES/django.mo
so I have a custom language which is suppose to be Indonesian
indentified as
r own
project' section.
Should I submit a ticket or something?
Thank you for your prompt response,
Robin
On Jul 21, 4:51 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sun, 2008-07-20 at 13:02 -0700, robin wrote:
> > I've spend 3 days on this. Please help.
>
Hello,
I am trying to decide which tool should I use to deploy my django
based application, and I have some candidates and want to know what
are your opinion about this. My deployments will be in more than one
server.
First I though about Capistrano, but I don't want to install/learn
another lan
Hello,
i have the same exception and exactly as Julien explained in the dev
server works fine ... and also works fine with fast_cgi, but I am
using apache + mod_wsgi and it didn't work with the same problem:
NoReverseMatch
Has any of you any clue to this error ?
thanks in advance,
r
On
###MODELS.PY###
class Body(models.Model):
body=models.CharField(max_length=50,primary_key=True) #eg. sedan,
hatchback
def __unicode__(self):
return unicode(self.body)
class Car(models.Model):
body=models.ForeignKey(Body)
###VIEWS.PY###
def view_car(request,object_id):
car=get_objec
Sorry about the confusion with the request.user, it's not meant to be
there.
body = {{ car.body_id }} is what i'm looking for.
Thanks a lot for taking the time to help.
Much appeciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Which way do you think would be faster?
1. Make Body charfield a primary key and call it with {{car.body_id}}
(1 query only)
OR
2. Let the primary key be an integer by default and call it with
{{car.body}} (2 queries)
OR
3. Same as 2 but do inner join first with select_related (1 query)
Say ther
I'm sure you've seen this many times. I've been digging for hours now
trying to figure this out. I honestly have looked and tried many
solutions before posting.
I'm running an Intel iMac on OS X 10.5.5.
I've got Django 1.0 installed and working (can import django from
python).
I've got MySQL
When I run the build with gcc 4.0 I get these errors...it continues,
but I've included the first bits...
>sudo python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.macosx-10.5-i386-2.5/MySQLdb
running build_ext
building '_mysql' extension
gcc -fno-strict-al
n Oct 8, 10:02 pm, Robin <[EMAIL PROTECTED]> wrote:
> When I run the build with gcc 4.0 I get these errors...it continues,
> but I've included the first bits...
>
> >sudo python setup.py build
>
> running build
> running build_py
> copying MySQLdb/release.p
Sorry, I just google for comparations between simple method (or
override old ones) and signals and I found that signals are more
generic but less "controled" and you can just loose the normal
execution of the signal. What I don't understand is why I am just not
getting executed any of my signals,
l',
'extra_context':{
'title': 'Add Item Complete',
'url': reverse('add_item_wizard'),
}
}, name='add_item_complete'),
Is there no way?
Thanks in advance,
Robin
--~--~-~--~~
By the way it will give the following error, if I do reverse in
urls.py:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/core/servers/
basehttp.py", line 278, in run
self.result = application(self.environ, self.start_response)
File "/usr/lib/python2.5/si
made many of my apps less portable.
I still need to account for reverse(edit_item) if i wish to have that
in the add complete page.
Anyway that's what I'm trying to do, making coding lazier.
Further suggestions or no, thank you.
Robin
On Apr 3, 10:04 pm, Reiner wrote:
> I'm not
s import Number
###PROBLEM-###
With the above setup, if i execute: python run.py, it should be fine.
BUT the problem occurs the moment i change acc.models from:
group=forms.ModelChoiceField(Group.objects.all())
#TO#
group=forms.ModelChoiceField(Group.objects.filter(name='blah'))
1) #or any kind of filter will cause the
following import error.
File "/home/robin/test/toast/two/models.py", line 2, in
from numbers.models import Number
ImportError: cannot import name Number
On Apr 22, 9:02 pm, Christian Berg wrote:
> Hi!
>
> Your Posting says:
> na
7;'
### IMPORT ERROR by running 'python run.py' ###
File "/home/robin/test/toast/two/models.py", line 1, in
from numbers.models import Number
ImportError: cannot import name Number
### SOLUTIONS ###
1. Change filter(num=1) into all()
OR
2. Remove import Number fro
I was trying to find a way to get ModelChoiceFields to use an already
cached Model, and I came across in django/forms/models.py , under
class ModelChoiceField, a variable called:
self.choice_cache=None
class ModelChoiceIterator seems to be the only thing that plays with
it, but with or without c
I have installed Django on my mac with OS 10.6. It installed just fine
and I was setting up my first project. I then ran python manage.py
syncdb as I am using MySQL, but I got the following errors:
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
Daniel and Hector,
Thank you very very much. I am off install the module.
Robin
On Oct 21, 12:29 pm, Hector Garcia wrote:
> On the internets?
>
> http://docs.djangoproject.com/en/dev/ref/databases/#mysqldb
>
> Hector Garcia - Web developer, musicianhttp://nomadblue.com/
>
I'm writing a basic login form using the Django built in
authentication system, but my own login form. This may be a mistake,
but it can't hurt to learn how to get it to work? :)
I have this Django Form:
class SignInForm(forms.Form):
username = forms.CharField(label='User Name', max_length=3
Apologies...it seems I misunderstood clean_message(). It's not a
method, but clean_* is something for each field. I'll continue my
research, but would still love to hear from you all about custom login
forms and how you handle them.
On May 24, 8:48 pm, Robin wrote:
> I'm wri
May 25, 1:02 am, bruno desthuilliers
wrote:
> On May 25, 4:48 am, Robin wrote:
>
> > I've tried to track down this information (new to Django and web dev)
> > and I'm certainly not expecting a spoon-fed answer. A nudge in the
> > right direction would be most apprecia
I'm very comfortable with SQL and more traditional programming. Would
you recommend some specific HTTP primer, or anything else for those
making the transition to web dev?
On May 25, 8:24 am, bruno desthuilliers
wrote:
> On May 25, 3:54 pm, Robin wrote:
>
> > Because that
When I have a view that's @login_required -- and the user isn't logged
in -- what's the best way to deal with the URL they wanted in the
first place? Assuming they log in properly and I want to then
redirect them on to where they intended to go in the first
place...what's the best practice?
I'm n
Thanks, Derek! Wikipedia makes good sense.
On May 27, 1:14 am, Derek wrote:
> On May 26, 1:07 am, Robin wrote:> I'm very
> comfortable with SQL and more traditional programming. Would
> > you recommend some specific HTTP primer, or anything else for those
> > ma
I sure wish there was a book that kept pace with the
changes and the miost recent version. Is the fact that there isn't
much available a bad sign?
Just jump in and adjust as I learn my lessons?
Regards,
Robin
--
You received this message because you are subscribed to the Google Groups
t to change my Child
model to use OneToOneField.
So is there a better way?
Thanks,
Robin
--
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 grou
el. I guess if I'm using the login view, it's will test for me.
I sort of started with the whole auth system, then backed out of using
the form and the view just to learn how it works on a basic level.
And in browsing the code, I saw the test cookie functions and did some
research.
Than
Shall I report the inability of using
Parent.objects.filter(child__isnull=False) as a bug?
--
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
lem with the 2 solutions above is that filtering with
> > child__name__isnull looks hackish, and I don't want to change my Child
> > model to use OneToOneField.
>
> > So is there a better way?
>
> > Thanks,
> > Robin
>
> --
> Matías Aguirre
--
You
In a Form subclass, why do we have to use
self.cleaned_date['fieldname'] in the clean_fieldname() method and
self.cleaned_data.get("fieldname") in the clean() method for the form
overall? In the clean_fieldname() method, we're looking up the
cleaned python object / value in the cleaned_data dictio
ot have
looked in the right spot for all the information.
Thanks again, Daniel.
Robin
Ah! So, it the clean_fieldname method
On Jun 2, 2:32 am, Daniel Roseman wrote:
> What makes you think that? .get() is a dictionary method. It's just useful
> when you're not sure the specif
failed:
RewriteRule (.*) //$1 [PT]
Alias // /
Any help much appreciated. Thanks, Robin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this g
Mike
I hope you find a local person who can do the job. If you need to get in
touch, please do.
Kind Regards
Robin St.Clair
PS I wouldn't mind an excuse to be in Melbourne first week in November
On 15/08/2014 14:37, Mike Dewhirst wrote:
Robin
Thanks for responding ... I have a coup
GMT with the current time in
Britain, after any adjustment for summer time.
Robin St.Clair
On 20/08/2014 13:32, Geoffrey S. Knauth wrote:
|2014-08-30 16:00:00+00:00 GMT|
|2014-08-30 12:00:00-04:00Toronto (Summer)|
||
||This looks correct to me. Maybe you were expecting the timezone to
be -05
n. You can implement security, if required.
Letting end users directly access the DB is quite wrong, especially if
the DB is complex. In the latter case, many of the reports created will
be wrong, and decisions will be made on misleading data.
Robin St.Clair
On 09/12/2013 09:01, Lachlan Musicman wr
n()
del ef._errors['vericode']
but this looks fairly clunky. Is there a better way to clear errors or to
indicate that something is not in error during rendering, but should be
considered erroneous on submission?
--
Robin Becker
--~--~-~--~~~---~--~~
Yo
I agree on the Shipping site.
Let's start a project?
Cheers,
Robin
On 13 Nov, 17:45, "thi.l...@gmail.com" wrote:
> > You will find lots of excellent examples of Django projects [...]
>
> It is sometimes difficult to know what Django version each project was
> b
clude(id=self.id).
filter(a=self.a,b=self.b).order_by('id'))
if P:
for p in P:
self.merge(p)
p.delete()
super(Over, self).save()
would this work?
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you ar
ady running so
some kind of queue might be useful.
Secondly you really ought to kill running jobs for which no query has been
received recently.
Finally you ought to limit the resources consumed by the background jobs to
keep
the server response time reasonably fa
i think you must be the root user to be able to install django..
On Thu, Oct 16, 2008 at 1:25 PM, limas <[EMAIL PROTECTED]> wrote:
>
> hai,
> i want to install django in a local directory without the permission
> of root in Mandriva linux.
> please help meThe problem i suffered is could n
re are also other bits of
configuration which widgets could request eg onload/onunload etc etc.
For most apps there's no real problem in having a fixed resource location, but
I
can see cases when proper configuration is desirable.
--
Robin Becker
--~--~-~--~~~-
URLs pretty well.
With the multiple django projects & 1 database I am worried there are some
hidden problems waiting to come out and play.
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
Malcolm Tredinnick wrote:
> On Wed, 2009-08-05 at 17:59 +0100, Robin Becker wrote:
>> My boss wants to have two different django controlled websites with a common
>> database. Is there a way to do this?
>>
>> We are already running multiple websites into a single dja
being separate?
>
> Derek
..
I don't think django allows multiple databases except via table name hacks and
similar.
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users
thout any attempt at sorting so I
end up with some files included twice etc etc.
Is there a way to hook the final rendering?
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gro
try request.user
you get a key error coz there is no 'REMOTE_USER' key in META.
On Wed, Oct 14, 2009 at 5:29 PM, luca72 wrote:
>
> Hello if i use request.META['REMOTE_USER'] i get key error, but if i
> use 'REMOTE_HOST' not
> can you tell me how to get the user that is authenticate
> I use the
try reading this
http://www.cotellese.net/2007/12/11/adding-model-field-validation-to-the-django-admin-page/
On Wed, Oct 14, 2009 at 5:34 PM, danin wrote:
>
> hi guys,
>I am new to Django (started 2 weeks back). right now i am
> designing one application having model-
> class info(models.Mo
OTE_USER'] has to give the same value.
>
> On 14 Ott, 11:34, robin nanola wrote:
> > try request.user
> >
> > you get a key error coz there is no 'REMOTE_USER' key in META.
> >
> > On Wed, Oct 14, 2009 at 5:29 PM, luca72 wrote:
> >
> >
to get django to
control
static access in this manner.
I know that I can start up a secondary version of my project and use it as a
standalone fastcgi script to do what I need, but that requires me to control
two
servers when changes are made and seems a bit clunky.
--
Robin Becker
so it looks as though something is being silly and doing the following
1) translate to utf8 ie 'Elegant, sophisticated, discover Egypt\xe2\x80\x99s
local customs'
2) escaping \x99 as ™ (trademark char is ™ == ™)
where should I start looking to locate the problem?
--
Robin Becker
--
on your settings.py you can just add LOGIN_URL = '/login/'
On Thu, Dec 9, 2010 at 3:04 PM, Charlietuna wrote:
> Hi All,
>
> I'm a newbie. I would like to use the @login_required decorator, but I
> don't want to redirect to the standard default accounts/login. I would
> like to redirect to '/log
u received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more
st to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
robin n. nanola
systems analyst /
again.
Alternatively is there a way to do the reverse ie get django to use a database
controlled by apache?
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
Steven Armstrong wrote:
> Robin Becker wrote on 06/28/07 16:13:
>> I see from this documentation
>>
>> http://www.djangoproject.com/documentation/apache_auth/#configuring-apache
>>
>> that it is conceptually possible to configure apache authorization using
(g.name)
if G: #fail if some required groups remain
return apache.HTTP_UNAUTHORIZED
if permission_name:
if user.has_perm(permission_name):
return apache.OK
else:
return apache.HTTP_UNAUTHORIZED
else:
return apache.OK
else:
thonPath "['/usr/tmp/djcodeCODE']+sys.path"
SetHandler python-program
SetEnv DJANGO_SETTINGS_MODULE djcode.app.test_settings
PythonHandler django.core.handlers.modpython
#PythonDebug On
PythonInterpreter test_app
--
Robin Becker
--~--~-~--~~--
10 11 12 30 31 {'c0': 50}
theer's an equivalent concept for positional arguments that uses a single *
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
le to disable the unicode
conversion?
--
Robin Becker
--~--~-~--~~~---~--~~
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 t
Malcolm Tredinnick wrote:
> On Wed, 2007-08-29 at 14:58 +0100, Robin Becker wrote:
>> Hi, we're having some troubles with latest django that are caused by the
>> switch
>> to unicode string output. In particular since we were already carefully
>> handling
>&
uot;/...fcgi",
referer:
so I'm guessing that the apache end of the fastcgi pipe is timing out. Is there
a way for the django/flup side to signal that the request is not dead.
I find it a bit strange that the django side doesn't seem to care about whether
the apac
le generator then why not pass the add
selection problem off to a service on your server ie put the whole problem into
a singleton server with a fast response using say XMLRPC if all this has to do
is compute a single draw from your function it should be fairly fast.
--
Robin Becker
--~--~-
ving reached kern.maxfiles.
Has anyone got any experience with this kind of setup and how to decide what
the
fault really is. In particular since the web can always out request any
particular limit is there some way to make apache start refusing gracefully
before things go critical.
--
info related
to some kind of string functions eg camelize, gsub etc etc.
Can anybody tell me what's going on?
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
ing a forking flup) to respond to the
requests. I think there are no bottlenecks here, but I'm not sure who's
responsible for scaling up and down as requests come in. Can anybody enlighten
me?
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message
seems to make the site work
(up to and including allowing unrestricted cookies in the internet settings).
I'm using IE7/Firefox on the same site and that has no problems at all. I'm
wondering if my test machine (which has both IE7/6 is the issue).
Can anyone help?
--
Ro
of fields that were to be left alone or
something as easy. Is there no easy way to do these simple extensions; if not
what's the 'right' way to do this in the various contexts?
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because
no doubt digest in due time; thanks.
--
Robin Becker
--~--~-~--~~~---~--~~
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
Has anyone else run into the following error when deleting objects using the
newforms-admin branch?
Exception Value: global name '_get_deleted_objects' is not defined
Exception Location:
/usr/lib/python2.4/site-packages/django/contrib/admin/options.py in
delete_view, line 466
Obviously _get_delet
It sounds like you're trying to access the user as an attribute rather than
a key in your tag renderer. Make sure you're using the syntax
context['user'] as opposed to context.user.
- Robin
On 4/29/07, Marco Gabriel <[EMAIL PROTECTED]> wrote:
>
>
> Hi everyo
)
register.tag('test_tag',test_tag)
- Robin
On 4/29/07, Marco Gabriel <[EMAIL PROTECTED]> wrote:
>
>
> Robin Percy schrieb:
> > It sounds like you're trying to access the user as an attribute rather
> > than a key in your tag renderer. Make sure you're
c view?
>
You could create a wrapper view around the generic view as described in the
"Extending Generic Views" section here
http://www.djangobook.com/en/beta/chapter09/ and use the login_required
decorator as described here:
http://www.djangoproject.com/documentation/authentication/
is doesn't seem impossible.
--
Robin Becker
--~--~-~--~~~---~--~~
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 th
Graham Dumpleton wrote:
> On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote:
>> I find I can use django users and groups to authorize apache locations and
>> directories using a modified version of modpython.py(I just hacked it to
>> check
>> for re
just need to know what you are
> doing. ;-)
>
that's what the django approach is doing :)
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
ly a problem of the apache api and I'm not familiar
enough
with 2.2 to know if you can get your auth requests handled via an existing
location.
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
t a shared
app
with a virtual host address. Having a common front end is a problem, as if
something goes badly awry then possibly client a sees something client b has
entered etc etc. The mod_python commonality is just another problem for
security
auditors.
--
Robin Becker
--~--~-~--
0)-->V1
Now my question
can the middleware determine the template used by V0 so that it can be used
automatically to generate V2?
--
Robin Becker
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django u
27;name') but that failed to search at
all. My boss suggested that the documentation 'foreign_key__related_fieldname'
should be replaced by 'a__id' and that seems to locate some rows, but the
listing page doesn't display. I looked in vain for some simple examples,
Karen Tracey wrote:
> On 12/3/07, Robin Becker <[EMAIL PROTECTED]> wrote:
>>
>> I have a simple model with a foreign key relation
>>
>> class A(models.Model):
>> id = models.CharField('ABCDEFG', .)
>
>
> Do you real
_method(request, response)
is outside of any try except block so cannot have a nice traceback.
A colleague is trying to use a middleware for logging successes and errors.
However, it seems that using process_exception only sees errors in the main
callback and not any other middleware methods.
Jeremy Dunck wrote:
On 12/28/06, Robin Becker <[EMAIL PROTECTED]> wrote:
Our team has been using Django for about one year. I find it difficult
to debug
with Django despite the attempt at friendly traceback pages. It seems
Django has
failed to take advantage of the tracebacks th
.
.
If you can't bring yourself to make the tickets, please just make
patches, and I'll do the dirty work of the ticket itself.
no worries, in trac mode I added the patch then the patch and finally changed
the summary to s
Jeremy Dunck wrote:
On 12/28/06, Robin Becker <[EMAIL PROTECTED]> wrote:
...
no worries, in trac mode I added the patch then the patch and finally
changed
the summary to start with [patch].
--
And the uncaught exceptions?
I'll do another one tomorrow.
--
R
ed a worker pool for each
virtual host.
Any ideas welcome.
--
Robin Becker
--~--~-~--~~~---~--~~
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@googlegroup
stcgi_pass blah;
}
}
server {
listen 80;
server_name foo.com;
location / {
#insert FCGI params stuff here
...
##
fastcgi_pass foo;
}
}
...
--
Robin Becker
--~--~-~--~~~---~--~~
You received this mess
David Zhou wrote:
On Jan 5, 2007, at 5:00 AM, Robin Becker wrote:
so these define the server used by the http stuff below, do I
understand it correctly that the fcgi processes are setup to listen
on the above ports?
Those are unix sockets, but correct. The fcgi processes are listen
Not wishing to fix all of our views (in particular the contrib/admin stuff) I
tried 2 and had some success. I can get a resolver which either points to the
original value or a generic road up page.
Have others tried anything similar?
--
Robin Becker
James Bennett wrote:
On 1/8/07, Robin Becker <[EMAIL PROTECTED]> wrote:
Is there any obvious way to get the dispatch mechanism to behave
differently
under specific circumstances?
Not too long ago, there was some new functionality checked in to trunk
which allows you to tell Django to
Hi ya,
My hosting provider doesn't give shell access, so I can't execute like
"syncdb", "startapp", "startproject", etc.
Is there another way to do this? (e.g. by creating a runsync.py script?! (or
something?))
Regards,
Robin
--~--~-~--~~--
On Wed, Aug 09, 2006 at 08:58:54PM -0500, Deryck Hodge wrote:
>
> On 8/9/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> > On 10-Aug-06, at 12:43 AM, Robin Gruyters wrote:
> >
> > > My hosting provider doesn't give shell access, so I can
t handle schema updates at all yet; at the moment, you
have to handle them yourself. The problem is being worked on, though:
see http://code.djangoproject.com/ticket/12. If you have any ideas to
contribute, that would be the appropriate place to add them.
--
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014
red
hosting environment... :-( That's when you start looking at solutions
like FastCGI. More information on various different server
arrangements is over at
http://code.djangoproject.com/wiki/ServerArrangements if you're
interested.
--
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014
t; Am I misunderstanding this tag?
I think the ifnotequal tag is case-sensitive. Try "core" instead of "Core".
--
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014
nt
to specify the primary key yourself each time.
As others have mentioned, if you really want an auto-incrementing
field, the best solution is to just not define any primary key at all;
then Django will create an AutoField named "id" for you, and you won't
have to worry about getting its definition right.
--
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014
cute bit on the directory.
--
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014
id-way down the page of
http://www.djangoproject.com/documentation/templates/ for more
details.
--
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014
1 - 100 of 281 matches
Mail list logo