On Thu, Sep 27, 2012 at 3:10 PM, M.-A. Lemburg wrote:
> Russell Keith-Magee wrote:
>> On Wed, Sep 26, 2012 at 8:11 PM, winniehell wrote:
>>> We had a little private discussion about this. Is this list meant to be
>>> for product announcements? I personally don't like to get product
>>> announceme
http://wklej.org/id/837631/ - models, traceback, urls, views, database
structure
After adding data to database I have error (data is added correctly but
displays an error):
Exception Type: IntegrityError at /add/Exception Value: PRIMARY KEY must be
unique
def add(request):
if req
Hi ,
While storing decimal values to database I have following error.
Exception in storeFormatMetadataTraceback (most recent call last):
File "/var/opt/igp_acfs/acfs/bookproducts_manager.py", line 118, in
storePricing
book.save()
File "/var/opt/igp_acfs/acfs/models.py", line 529, in s
As I see from the stack, error produced by book.save() in File
"/var/opt/igp_acfs/acfs/bookproducts_manager.py", line 118 but in you code
I can't this line of code. Do you really show the code, that related to
error
2012/9/27 Laxmikant Gurnalkar
> Hi ,
>
>While storing decimal values to da
On Wed, Sep 26, 2012 at 12:34 PM, Ricardo Grizonic
wrote:
> Hey everyone,
>
> I recently upgraded from Django 1.3 to 1.4.1 and now it seems that for every
> new thread, a new database connection to postgresql is created. I'm using:
>
> from django.db import connection
>
> which, according to the d
What View are you getting the error on ? can you post the code to the View
and the template ?
Thanks & Regards
Amyth [Admin - Techstricks]
Email - aroras.offic...@gmail.com, ad...@techstricks.com
Twitter - @mytharora
http://techstricks.com/
--
You received this mess
post the code to WorldBorder Model. Thanks
--
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+unsubscr...@googlegroups.c
Hi, This is a Simple project for learning Django.
It's a bbs for chinese users.
So, there are some Chinese Words in JS file.
It hosted at bitbucket originally,
Now, I move it to github:https://github.com/yueyoum/python-gears
--
You received this message because you are subscribed to th
Russell Keith-Magee wrote:
> On Wed, Sep 26, 2012 at 8:11 PM, winniehell wrote:
>> We had a little private discussion about this. Is this list meant to be
>> for product announcements? I personally don't like to get product
>> announcements on mailing lists because I'm in most cases not interested
[?]
--
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+unsubscr...@googlegroups.com.
For more options, visit this group
Russell Keith-Magee wrote:
> On Thu, Sep 27, 2012 at 3:10 PM, M.-A. Lemburg wrote:
>> Russell Keith-Magee wrote:
>>> On Wed, Sep 26, 2012 at 8:11 PM, winniehell wrote:
We had a little private discussion about this. Is this list meant to be
for product announcements? I personally don't l
Not quite sure, but it seems like the save() method is being called twice
so it is trying to create insert an entry with a primary key that already
exists.
On Thu, Sep 27, 2012 at 2:23 PM, enemybass wrote:
> http://wklej.org/id/837631/ - models, traceback, urls, views, database
> structure
>
>
What other integer fields are there in your model ?
On Thu, Sep 27, 2012 at 2:35 PM, Sergey Fursov wrote:
> As I see from the stack, error produced by book.save() in File
> "/var/opt/igp_acfs/acfs/bookproducts_manager.py", line 118 but in you
> code I can't this line of code. Do you really sh
Al 27/09/12 10:10, En/na Huahui Zhou ha escrit:
http://stackoverflow.com/questions/6778638/manage-py-runserver-error-errno-10013
--
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.c
I am new to django, iam facing some issue with template ,
i am having tabs,on click of each tab i need to load the template with the
help of ajax. this is working fine if i use this script code in same html
file,
As per my requirement i have to use the external javascript file to
maintain
On Thu, Sep 27, 2012 at 9:53 AM, raju akula wrote:
>
>
> I am new to django, iam facing some issue with template ,
>
>
> i am having tabs,on click of each tab i need to load the template with the
> help of ajax. this is working fine if i use this script code in same html
> file,
> As per my requi
On Wed, Sep 26, 2012 at 1:48 PM, hetwen wrote:
> hello every,
>When I configure apache,mod_pyton and mod_pywebsocket on
> windows7,some errors occurred,this is a part of my httpd.conf,
If you are still stuck with this, consider asking on a relevant
mailing list. This list is for Django, w
How current is this book? Intro says it may not be. It seems to be
very well-written, but I don't want to be reading stuff that is too old.
I find more recent reference info, as well as good overviews, guides,
etc. at:
https://docs.djangoproject.com/
--Fred
-
Hi,
I am creating a website in django where in i am trying to display all the
comments and pictures like Pinterest.
Can somebody help me on how to implement the same easily in django.
Is there any easy way to implement the Pinterest like UI in django?
Regards
~Nirmal
--
You received this mess
Hi. First-time poster here. Feel free to point out any rules I'm not
following.
I've been looking around for how to make the django.contrib.auth User
classe's "email" field to be unique and required. There are bunches of
ways to do it, but it's just s darn easy to go into the source and
No you won't be smitten.
As for isolating your edited django, you can do that but then you
would have to be responsible for improving the code base by yourself.
Also, your edit might inadvertently break django or introduce bugs
that you might find difficult to trace and solve or that might change
---
You've been invited by Robert Kvaal to use Google Talk.
If you already have a Google account, login to Gmail and accept this chat
invitation:
http://mail.google.com/mail/b-90f4d8d70d-e60ea03784-aKi-Kg_vzoaDZXyru790CzdHuAY
To
I'm having the same issue. I see that you say that you change the postgress
manually. Can you tell me where can I find that file. I'm new with django.
Thanks
On Monday, October 17, 2011 5:06:39 PM UTC-4, Pauline Emery wrote:
>
> Dear all,
>
> I'm having a problem doing the section "LayerMapping"
What's this?
2012/9/28 Google Talk
> ---
>
> You've been invited by Robert Kvaal to use Google Talk.
>
> If you already have a Google account, login to Gmail and accept this chat
> invitation:
>
> http://mail.google.com/mail/b-9
Hola,
I'm searching without much luck and can't see the answer in the docs.
Am wanting to override the is_valid() method on a model (I think
that's what I want).
Basically, I have a choices field, and if one of those choices is
selected, then I want a description field to be not blank/not the
em
.create() creates the object into DB, then .save(force_insert=True)
tries to insert the same object with the same ID again -> integrity
error. Seems like you don't need the second save at all.
- Anssi
On 27 syys, 15:39, Amyth Arora wrote:
> Not quite sure, but it seems like the save() method is
I have no idea
On Thu, Sep 27, 2012 at 6:22 PM, Rivsen wrote:
> What's this?
>
> 2012/9/28 Google Talk
>
>> ---
>>
>> You've been invited by Robert Kvaal to use Google Talk.
>>
>> If you already have a Google account, login to
On Fri, Sep 28, 2012 at 2:02 AM, Chris Pagnutti
wrote:
> Hi. First-time poster here. Feel free to point out any rules I'm not
> following.
>
> I've been looking around for how to make the django.contrib.auth User
> classe's "email" field to be unique and required. There are bunches of ways
> to
---
Rivsen邀请您使用 Google Talk。
如果您已经拥有 Google 帐户,请登录 Gmail 并接受此聊天邀请:
http://mail.google.com/mail/b-83386e39b8-0ec258bcf0-y0Clo0X-tRU1nzWTVIlkF9WhyM4
要注册 Google 帐户并开始使用 Google Talk,您可以访问:
http://mail.google.com/mail/a-83386e39b8-0e
On Fri, Sep 28, 2012 at 9:55 AM, Dennis Lee Bieber
wrote:
> On Fri, 28 Sep 2012 07:22:56 +0800, Rivsen
> declaimed the following in gmane.comp.python.django.user:
>
>> What's this?
>>
>> 2012/9/28 Google Talk
>>
>
> Probably Google's next attempt to corrupt the "Groups" system...
More l
What am doing wrong in below admin & model.py; I expect the list display
will display values of all three column values from list_display, but it
doesnt; Particularly, the values of item_status & solution note not getting
shown in my admin view;
Admin.py:
class ItemAdmin(admin.ModelAdmin):
When I deploy a GeoDjango app to Heroku I'm getting the following error:
*AttributeError:
'DatabaseOperations' object has no attribute 'geo_db_type'*
I've tried quite a few things to fix it and lots of research, but still
can't get rid of it. Instead of duplicating my StackOverflow question, yo
Hi,
Is there any simple way of taking the sessionid out of the django error
emails that get sent in plain text when there's a 500? We're using django
1.2.
Thanks,
Bjorn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussio
Hola,
I wanted to display the user that last changed a model instance.
It's hard to search for because the username/email-as-login makes up the
majority of the search results.
Despite this, I've found a couple of pages, with this being the most like
what I want:
https://code.djangoproject.com/w
On Friday, September 28, 2012, Lachlan Musicman wrote:
>
> I wanted to display the user that last changed a model instance.
>
> Despite this, I've found a couple of pages, with this being the most like
> what I want:
>
> https://code.djangoproject.com/wiki/CookBookNewformsAdminAndUser
>
> I like t
ConfigParser.NoSectionError: No section: 'database'
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/0uRjwXdd_jIJ.
To post to this group, send email to djang
On Fri, Sep 28, 2012 at 4:05 PM, Navnath Gadakh wrote:
> ConfigParser.NoSectionError: No section: 'database'
Off the top of my head, I would suggest you have nothing in the
section DATABASES in your settings.py
Does your settings.py have something that looks like:
DATABASES = {
'default': {
On Thu, Sep 27, 2012 at 10:28 PM, Lachlan Musicman wrote:
> I wanted to display the user that last changed a model instance.
I use django-reversion for this:
https://github.com/etianen/django-reversion
--
Greg Donald
--
You received this message because you are subscribed to the Google Grou
my setting.py is
and a have also created a new setting.conf .may be there is problem of
path,plz help. thnks in adv
# Django settings for kasakooproj project.
import os
import ast
from ConfigParser import RawConfigParser
config = RawConfigParser()
PROJECT_PATH = os.path.realpath(os.path.dirna
On Fri, Sep 28, 2012 at 4:15 PM, Lachlan Musicman wrote:
> On Fri, Sep 28, 2012 at 4:05 PM, Navnath Gadakh
> wrote:
>> ConfigParser.NoSectionError: No section: 'database'
Although a quick google of the phrase is showing up lots of
mysql-python hits - is python-mysqldb (for ubuntu, YMMV) install
yes mysql db is installed on my ubuntu
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/jGY4wqQA14sJ.
To post to this group, send email to django-users@googl
Hello Gang, I have the function below which returns this error ->
"FieldError at /by_date/
Join on field 'first_day_start_time' not permitted. Did you misspell
'month' for the lookup type?"
The function will work in other objects (even with model
relationships), but not when the __month filter is
Hello.
You can Hack the *Default models* & add new fields in User Table
created_datetime, modified_datetime & created by, modified by etc.
Cheers
On Fri, Sep 28, 2012 at 9:03 AM, Lachlan Musicman wrote:
> On Friday, September 28, 2012, Lachlan Musicman wrote:
>
>>
>> I wanted to display
On 28/09/2012 2:16pm, Greg Donald wrote:
On Thu, Sep 27, 2012 at 10:28 PM, Lachlan Musicman wrote:
I wanted to display the user that last changed a model instance.
I use django-reversion for this:
https://github.com/etianen/django-reversion
See also Pro Django by Marty Allchin and
https
Hi
No there is no exact equivalent of Micheal Hartl's RoR for python.
However this may get you STARTED
http://www.youtube.com/watch?v=hp5ymCrD9yw
http://www.youtube.com/watch?v=lj01NigwU7Q
From: Fred Stluka
To: django-users@googlegroups.com
Sent: Thursday, 2
And some advanced
http://www.youtube.com/watch?v=t_ziKY1ayCo&feature=related
From: hrishy
To: "django-users@googlegroups.com"
Sent: Friday, 28 September 2012, 10:36
Subject: Re: Django Tutorial Equivalent to Ruby on Rails Tutorial by Michael
Hartl
Hi
No
On 28/09/2012 3:01pm, Mike Dewhirst wrote:
On 28/09/2012 2:16pm, Greg Donald wrote:
On Thu, Sep 27, 2012 at 10:28 PM, Lachlan Musicman
wrote:
I wanted to display the user that last changed a model instance.
I use django-reversion for this:
https://github.com/etianen/django-reversion
See
Let me try to assist. A forms is_valid method causes 3 types of
cleaning methods to be run. Based on that, I'm sure you really don't
need to override it.
I really don't understand what you mean by "I want the description
field to be not blank/not the empty string" so maybe I could have been
of mor
48 matches
Mail list logo