On Sat, Mar 5, 2011 at 10:41 AM, Edwin wrote:
> I'm getting a strange behaviour when setting up logging. Here's my
> logging configuration:
>
> LOGGING =
> {
> 'version': 1,
> 'disable_existing_loggers': True,
> 'formatters': {
> 'admin_configuration': {
> 'format': '%(a
My apologies, I was meant to do a personal mail to the sender.
If the post could be removed, I would be very happy.
Once again, apologies.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Kenneth Gonsalves
Sender: django-users@googlegroups.com
Date: Sat, 05 M
On Sat, 2011-03-05 at 07:22 -0800, Bobby Roberts wrote:
> i'd like to see a copy of the RFP
I do not know if it is in the 1.3 beta docs
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/
--
You received this message because you are subscribed to the Goog
Hi Vijay, Django is quite easy to understand and use, a little more effort
can really help you learn in a better way rather than training.
You can always post your questions on the forum.
On Sat, Mar 5, 2011 at 12:41 AM, Vijay wrote:
> Hi All,
> If anybody belongs to Hyderabad.Can you p
> And then Server needs to return token. The problem is that I can't find
> how to do this in python-oauth2 way (not with Django).
> Right now I have:
> def request_token(request):
> data = {'token': 'token123'}
> return HttpResponse(simplejson.dumps(data), content_type =
> 'application/javascri
Use the name of class instead:
parent = models.ForeignKey("Category", blank=True, null=True,
verbose_name=_("parent"))
2011/3/5 mohammad Efazati
> I have model field foreign key to self
> but sql have error and cant create null field for field
> why?
>
> class Category(models.Model):
> titl
Hi Tim!
On Sat, 5 Mar 2011 06:05:51 -0800 (PST), Tim wrote:
> For me that looks a little complex. The 'sequence' doesn't really
> belong to the Chapter or the Book, but to their relationship. A
> Chapter may have one sequence number when part of Book A, and another
> for Book B.
That's a classic
yes, I saw this and hacked the get_form function of CommentFormNode to
see if it would work, but the form fails with "Missing content_type or
object_pk field."
On Mar 5, 4:47 pm, Karen Tracey wrote:
> On Sat, Mar 5, 2011 at 8:09 AM, george wrote:
> > I have multiple comment forms on a single pag
On Sat, Mar 5, 2011 at 8:09 AM, george wrote:
> I have multiple comment forms on a single page (aggregated blog
> entries). The page does not validate due to duplicate ids in the
> form. Anyone know of a solution to this?
>
Form prefix:
http://docs.djangoproject.com/en/1.2/ref/forms/api/#prefix
Hi
I have multiple comment forms on a single page (aggregated blog
entries). The page does not validate due to duplicate ids in the
form. Anyone know of a solution to this?
Cheers!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
I have model field foreign key to self
but sql have error and cant create null field for field
why?
class Category(models.Model):
title = models.CharField(max_length=250,\
unique=True, verbose_name=_("Title"))
slug = models.SlugField(max_length=100,\
I am unable to import a package using a symbolic link, a dist-
packages .pth file, or sys.path.append in the wsgi file on:
ubuntu 10.04 LTS
apache 2.2.14
mod-wsgi 2.8-2
django 1.2.5
when the package directory is outside the application directory. The
import works correctly if the directory contai
On Saturday, March 05, 2011 07:19:23 am Bobby Roberts wrote:
> hi all... i'm banging my head against a wall here.
>
> consider this model
>
> class mymodel(models.Model):
> id = models.AutoField (primary_key=True)
> Barcode = models.IntegerField(unique = True, blank=False)
>
i'd like to see a copy of the RFP
On Mar 4, 8:05 am, Colleen wrote:
> I'm representing an international company that needs a website
> developed fast. (15weeks). We have the RFP to send out (today - March
> 4th) and are looking for interested developers.
>
> No parties will be considered after to
hi all... i'm banging my head against a wall here.
consider this model
class mymodel(models.Model):
id = models.AutoField (primary_key=True)
Barcode = models.IntegerField(unique = True, blank=False)
CustomerId= models.ForeignKey(Customer, db_index=True,
blank=True, null =
You should definitely be using a POST request - an important aspect of
the design of any web application is that get requests should not
change server side state, for this exact reason.
http://stackoverflow.com/questions/46585/when-do-you-use-post-and-when-do-you-use-get
--
You received this mes
Hi,
I'm modeling book structures. Currently I have Chapter objects that
belong (ForeignKey) to a Book and each Chapter has sequence number so
the book can know how to order the chapters within itself. That was
okay until I realized the chapters can be shared between books.
For me that looks a lit
I am writing a view that controls multiple models.
I use Model._meta.fields to access model fields and use
value_from_object() to get its value
but for foreignkeys it returns the object_id, but I don't know which
model is this.
Is there any way to get the foreignkey fields model?
--
You received
On Sat, Mar 5, 2011 at 12:55 PM, Sithembewena Lloyd Dube
wrote:
> I tink you could also go as follows:
>
> my_object = form.save()
> if my_object:
> do_something()
Yep, but I'm using django admin so I can't do that without refactor
admin add_view, change_view and change_list_view ModelAdmin
I tink you could also go as follows:
my_object = form.save()
if my_object:
do_something()
On Sat, Mar 5, 2011 at 1:21 PM, Marc Aymerich wrote:
> On Fri, Mar 4, 2011 at 3:09 PM, Marc Aymerich wrote:
> > Hi,
> > I have an admin class with some arbitrary number of inline forms. I
> > want to
On Fri, Mar 4, 2011 at 3:09 PM, Marc Aymerich wrote:
> Hi,
> I have an admin class with some arbitrary number of inline forms. I
> want to make some stuff when all the inlines are successfully saved.
> How can I do that? admin executes something else after save_model ??
>
After model_save django
On Sat, Mar 05 2011, royy wrote:
> Hello.
>
> I can't create a superuser for an admin area, i type username and e-
> mail, then when I try to type password the keyboard freezes and
> doesn't respond so I need to use the Ctrl + break to quit server (I'm
> following the steps for writing my first D
hi all,
i am new to django framework, i am developing the weekly status
report generation webserver. till now i completed the adding the
report to db ans viewing the availbale reports. my question is if i
have 10 reports in db each report contains 15 fields. so how can i
generate a report using
Hello.
I can't create a superuser for an admin area, i type username and e-
mail, then when I try to type password the keyboard freezes and
doesn't respond so I need to use the Ctrl + break to quit server (I'm
following the steps for writing my first Django app).
I tried to create it in two diff
add add Python3 support for Django :-) http://python3wos.appspot.com/
--
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
Le 05/03/2011 00:01, kgardenia42 a écrit :
Thanks. This is pretty close to what I'm doing. However, I'd like to
not have to write all the associated boiler-plate (i.e. I have to
figure out if any film/actor relationships have been deleted since the
last save and explicitly write code to remo
26 matches
Mail list logo