is proxy_send_timeout too small ?
I newer
2012/3/3 赵帅
> I suggest you do a pressure test on the url that have triggered the
> problem to see whether it will show up again.If yes, to see the system
> status such as the number of sockets being used and the number of
> connections from nginx to fa
I now work with mongoengine, mongoForm
and set this in setting.py
DEFAULT_FILE_STORAGE = 'mongoengine.django.storage.GridFSStorage'
I need to upload a picture, and I wrote a form like this:
from django.forms import ImageField
from mongoforms import MongoForm
from documents
finished
sorry, I clone the new source( for review) but use an old source on python
environment
在 2012年8月21日星期二UTC+8下午6时36分46秒,软刀写道:
>
>
> I now work with mongoengine, mongoForm
> and set this in setting.py
> DEFAULT_FILE_STORAGE = 'mongoengine.django.storage.GridFSSt
I have two model
class Friend(models.Model):
me = models.ForeignKey(User)
friend = models.ForeignKey(User)
remark = models.CharField(max_length=15)
def __unicode__(self):
return self.remark
class Message(models.Model):
from_user = models.ForeignKey(Us
I don't know why u get this
I run it well
maybe u can reinstall it
--
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
django-users+u
may be attribute ModelAdmin.ordering can work for you , it was in
docs/ref/contrib/admin/index.txt
attribute:: ModelAdmin.ordering
Set ordering to spcify how lists of objects should be ordered in the
Django admin views. This should be a list or tuple in the same format as a
models's django.db
as I unflod your code
I think may be you should create a Form-class like this:
class RegisterForm(ModelForm):
class Meta:
model = Register
and in your view should be:
@csrf_exempt
def welcome(request):
if request.method=='POST':
form=RegisterForm(request.POST)
new_
7 matches
Mail list logo