class Admin didnt show "book" on admin interface. instead admin.py in
the books folder show up "book" on admin interface.
Can anyone conform "class Amin: pass" works ??
class Book(models.Model):
title = models.CharField(maxlength=100)
authors = models.ManyToManyField(Author)
publishe
hi, I am using django.VERSION (1, 0, 2, 'final', 0).
django.forms.form_for_model is not available in this version. can
anybody tell me what is the equivalent module name for
form_for_module ??
--~--~-~--~~~---~--~~
You received this message because you are subscrib
hi,
anybody know free django hosting ?
--~--~-~--~~~---~--~~
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 emai
class Bookmark(models.Model):
title = models.CharField(max_length=200, unique=True)
user = models.ForeignKey(User)
link = models.ForeignKey(Link)
I need to remove "unique=True" attribute. I guess "manage.py syncdb
won't do this". So can anyone help me?
--~--~-~--~-
I am using MySql.
Karen Tracey wrote:
> On Wed, Feb 4, 2009 at 1:26 PM, xankya wrote:
>
> >
> > class Bookmark(models.Model):
> >title = models.CharField(max_length=200, unique=True)
> >user = models.ForeignKey(User)
> >link = model
has anyone hosted django on joyent?
I guess joyent does have apache and python installed. but i could not
configure install mod_python and django.
thanx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users
hi,
i need to do the following kind of template logic. can i achieve
this using built in tags or i need to create custom tags?
{% if user in voter_list %}
You have already voted.
{% else %}
Vote
{% endif %}
--~--~-~--~~~---~--~~
You received this messag
Thank you very much Malcolm Tredinnick. That will definitely work for
me.
--~--~-~--~~~---~--~~
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 uns
I finally got django hosted on free. Thanks to joyent.us, google,
google-groups and joyent community. Being a newbie, I am too happy to
have come so far. I gotta go much farther.
For those who wanna check: http://dac402c1.fb.joyent.us
Thank you all
--~--~-~--~~~---~--~
This works fine in my computer. but in remote server the following
error is shown:
Template error
In template /opt/local/lib/python2.4/site-packages/django/contrib/
comments/templates/comments/form.html, error at line 2
Caught an exception while rendering: Reverse for '' with arguments '()' and
This works fine in my computer. but in remote server the following
error is shown:
Template error
In template /opt/local/lib/python2.4/site-packages/django/contrib/
comments/templates/comments/form.html, error at line 2
Caught an exception while rendering: Reverse for '' with arguments '()' and
I guess u need to set python path to mysite plus django folders
In httpd.conf:
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE settings
PythonDebug On
PythonPath "['path to mysite', 'path to django'] + sys.path"
--~--~--
One thing I noticed in my windows and sun solaris is that, there is no
trailing slash in python paths. When I added trailing slash, apache
showed error. So you might as well try removing trailing slash in
python paths.
--~--~-~--~~~---~--~~
You received this message
does django prefer any kind of css framework. Which css framework do u
use?
--~--~-~--~~~---~--~~
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 u
I created an integer field for a mobile number as
mobile = models.IntegerField(max_length=20)
In MySQL interface, it created an integer field with length 11.
So my question is how to create bigint in mysql for storing big
numbers such as mobile number.
And my another mysql newbie question is wh
Thanks Karen Tracey and Kegan Gan. I'll check the issues of storing
large numbers later, and will post the results.
> and is bigint(length=5) different that int
> (length=5)?
by this i meant to ask, creating bigint of length 5 (say) in mysql
does make sense? in other words, for length 5, we wou
16 matches
Mail list logo