se?
> Any help will be appreciated. Thank you!
>
> --
> 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 group, send emai
f the interface:
http://docs.djangoproject.com/en/dev/topics/i18n/
For content this is a great talk from djangoski:
http://docs.google.com/fileview?id=0B29qXMz8reouYzJhMjhhZDMtOTQ5MC00NjY3LWIxM2EtY2U3ZmI2NzQzYjk3&hl=en
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
You rec
Hi all,
I'm having some troubles while using django-registration used from
bitbucket
http://bitbucket.org/ubernostrum/django-registration/src
After getting evrtythng done Im stuck and having this error.
error at /accounts/register/
(111, 'Connection refused')
Request Method: POST
Request
Thanks Its been resolved
On Apr 28, 5:10 pm, James Bennett wrote:
> On Wed, Apr 28, 2010 at 2:46 AM, andy saksena wrote:
> > (111, 'Connection refused')
>
> As a Google search would have told you, this is the error Python's
> smtplib module will raise when
Hi all,
I m using django-registration app from bitbucket for a form in my
project and stuck in understanding where is the model of the form.
my database for he project has a table named registration profile woth
the uniqhe id..but whatever fields i have in the database are getting
populated in some
wrote:
> On Wed, Apr 28, 2010 at 2:46 AM, andy saksena wrote:
> > (111, 'Connection refused')
>
> As a Google search would have told you, this is the error Python's
> smtplib module will raise when you tell it to connect to a mail server
> and it can't. Wh
Hi All,
I am having the following error while using the dual password field :
class DualPasswordWidget(forms.Widget):
^
SyntaxError: invalid syntax
my views.py is
# Create your views here.
from django.shortcuts import render_to_response, get_object_or_404
from datetime import datetime
f
Thats been resolved James but there is another thing I'm having
problems with and I'm sorry for asking so many questions.
All I now want is to have a minimum of 6 characters in the password
field.
Thanks
On May 3, 8:52 am, andy saksena wrote:
> Hi James,
> I got that smtp proble
syntax’, (‘/home/andy/src/python/django//..//
urls.py’, 17, 132, ” (r’^accounts/register/$’,register,
{‘form_class’:RegistrationForm,’profile_callback’:UserProfile.objects.profile_callback},name
= ‘registration_register’),\n”))
“”
Can anyone help me with this.
Thanks in advance
Andy
Resolved
Thanks for the help.
On May 3, 2:07 pm, andy saksena wrote:
> Thats been resolved James but there is another thing I'm having
> problems with and I'm sorry for asking so many questions.
> All I now want is to have a minimum of 6 characters in the password
> field.
n:
> > (r’^admin/’, include(admin.site.urls)),
> > (r’^accounts/register/$’,register,
> > {‘form_class’:RegistrationForm,’profile_callback’:UserProfile.objects.profi
> > le_callback},name
> > = ‘registration_register’),
> > )
>
> > but when I try looking under accou
at you want to
do.
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
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
should look at using virtualenv to isolate your environment:
http://pypi.python.org/pypi/virtualenv
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
I'm doing the first website where I need it to scale and want to host
the media on a different server than the one with the django code. I'm
going to have a lot of users uploading files ranging in 10 KB to 20 MB
in size. I estimate that the average user will upload 20 MB per week.
I have several qu
ng there.
http://djangozen.com/jobs is free
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
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 un
I'll go ahead and insert a plug here:
http://github.com/superjoe30/jst-parser
On Jun 6, 12:14 am, tazimk wrote:
> Hi,
>
> I want to use ajax in my templates using jquery.
> Can someone provide me some sample examples /links related to
> this.
> Also some sample examples on using Jque
Use south. The overhead is worth it.
On Jun 5, 12:57 pm, Dave E wrote:
> ah. forgot about the plain text in Google Groups... apologies. Again,
> in English:
>
> Given that Syncdb won't ever issue an alter table command ('no such
> column'), that Schema Evolution is still in debate, that South is
and only
show posts in the last seven days.
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
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 uns
I am coming up with a framework that helps serialization of models. My
idea is for each field to have a view permissions level: PUBLIC,
OWNER, or ADMIN. I want to have a model to dict function that takes 2
arguments, permission_level and serialize_chain. Firstly, let me
explain how it would change
God damn it, the most dangerous thing about Dvorak is hitting tab
instead of or along with apostrophe. "don't " translates into
"don'"
Anyways, I think this idea has merit - even alongside a role-based
security system.
Feedback?
On Jun 23, 3:29 am, Andy Kelley
I posted this to django-developers instead, so if you want to reply go
find that thread and do it there.
On Jun 23, 3:33 am, Andy Kelley wrote:
> God damn it, the most dangerous thing about Dvorak is hitting tab
> instead of or along with apostrophe. "don't " t
e suggest me a django logging project to log
> debug/error messages at server level and as a bonus feature perhaps an
> email to admin if a critical error happens.
Give Arecibo a look.
http://www.areciboapp.com/
http://www.areciboapp.com/docs/client/django.html
http://www.agmweb.ca/bl
login django.contrib.auth.login. So you can listen to the
save signals on that model.
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send em
ibraries: http://www.google.ca/search?q=soap+python
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
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.c
T_PROCESSORS.
Middleware is not the appropriate place, a context processor is the appropriate
place.
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
key in sync with your files. I would
recommend making a UID field on your model (which also doesn't require a
transaction) and using that for your filename.
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
You received this message because you are subscribed to the G
python's built in
logging will be just fine for all but the most complicated of use cases.
If you want to do access logging, your web server does that for you.
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
You received this message because you are subscribed
ows installer, and mocked
> me when I reported the bug.
Is the source for building it in some sort of source control eg: github?
--
Andy McKay, @andymckay
Django Consulting, Training and Support
--
You received this message because you are subscribed to the Google Groups
"Django use
d(null=True)
computer = models.OneToOneField(Computer)
I run into a problem because ComputerInterface is not defined at the time its
needed for
the "Computer" class:
File "/home/andy/src/django-test/netlist/nodes/models.py", line 17, in
Computer
interfaces = models.ManyT
On Sun, Sep 5, 2010 at 12:48 AM, Andy wrote:
> Thanks Pete.
>
> I'm definitely interested in using PyMySQL for production.
>
> I'm interested in running Django in an async mode using gevent (http://
> www.gevent.org/). gevent provides a money patch that turns any Pyt
this manner?
I hit the same problems with that feature. In the end number of
relationships and tables it created got so complicated, that we gave up
on it. We used http://code.google.com/p/django-reversion/ instead, but
there are other choices.
--
Andy McKay, @clearwind
Whistler confere
ather than changing the thread mid stream.
--
Andy McKay, @clearwind
Whistler conference: http://clearwind.ca/djangoski/
--
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...@googl
You really need to find a way to get the traceback, without that its
really hard to say what the problem is. Tools like http://areciboapp.com
are useful for this, but just setting DEBUG=True and restarting your
Apache/whatever should be enough.
--
Andy McKay, @clearwind
Whistler conference
companies directly.
--
Andy McKay, @clearwind
Whistler conference: http://clearwind.ca/djangoski/
--
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 f
/#connecting-to-signals-sent-by-specific-senders
--
Andy McKay, @clearwind
Whistler conference: http://clearwind.ca/djangoski/
--
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...@googlegrou
Time is running out for the DjangoSki Early Bird, sign up soon:
http://www.clearwind.ca/djangoski/register.html
--
Andy McKay, @clearwind
Whistler conference: http://clearwind.ca/djangoski/
--
You received this message because you are subscribed to the Google Groups
"Django users&q
You can set a prefix here:
http://code.djangoproject.com/browser/django/trunk/django/core/urlresolvers.py#L364
--
Andy McKay, @clearwind
http://clearwind.ca/djangoski
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Why not create a symlink to django-tagging/tagging in the project
directory? I think it's the easiest way.
--
regards,
Andy
--
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...@googl
I would suggest using django-navigation or a similar approach, that is
to bind breadcrumbs-related code to views instead of templates. Of
course you would still render the breadcrumbs in a template, but that
would be a single piece of code (I usually place it right in the
project's base.html) which
I am new to django, and have started building a project in it. I have
tried to use the admin interface with the project am having issues
logging in. I have setup the interface as instruced in the django
tutorial part 2, and created a new superuser and cannot use it to log
in. The user is always rej
hes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.adm
y the way you want to go.
--
Andy McKay, @clearwind
http://clearwind.ca/djangoski
--
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 group
hen an Order gets saved, I can
hook into some event AFTER the related Lines have been saved?
Thanks,
Andy
--
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 un
error,
> FieldError: Join on field 'posted_time' not permitted. Did you
> misspell 'hour' for the lookup type?
There are lookups for year, month and day as documented here:
http://docs.djangoproject.com/en/dev/ref/models/querysets/#year
But *not* hour or minute.
--
Andy McKay,
Bump!
On Feb 2, 1:48 am, Andy Cottell wrote:
> I have done this, and created an superuser when prompted. However the
> login still fails with the same error.
>
> Here is the urls.py:
>
> from django.conf.urls.defaults import *
>
> # Uncomment the next two lines to
Try using the django-debug-toolbar and see if that tells you anything useful.
--
Andy McKay, @clearwind
http://clearwind.ca/djangoski
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On 2010-02-06, at 4:08 PM, adamjamesdrew wrote:
> Does django have the ability to do a callback when a session time out
> occurs?
No, there is no session time out. Its just that a session isn't valid anymore.
--
Andy McKay, @clearwind
http://clearwind.ca/djangoski
--
You re
s, try serializing them in a single field, that's
much easier. I just have no idea about your real requirements so I
have to guess and may miss the point.
[1] http://pypi.python.org/pypi/eav-django
--
regards,
Andy
--
You received this message because you are subscribed to the Google Grou
e' error.
Without the code that generates that error or the traceback, we can't provide
much help.
One thing that is useful is model_to_dict, eg:
http://www.djangozen.com/blog/useful-django-apis
--
Andy McKay, @clearwind
http://clearwind.ca/djangoski
--
You received this message b
levant!)
>
> How can I knock out a list of apps from the test command line?
In the past for this I've defined a custom test runner:
http://docs.djangoproject.com/en/dev/ref/settings/#test-runner
But I haven't seen anything else that does that.
--
Andy McKay, @clearwind
h
to log in as. Running the command "python manage.py
runserver" uses the database created when you run "python manage.py
syncdb" and create a superuser, so you can login successfully.
Thanks for all of your suggestions,
Andy
On 8 Feb, 15:37, Russell Keith-Magee wrote:
> On M
On 2010-02-22, at 2:56 PM, Joakim Hove wrote:
> Any tip on how to write the "user_is_member_of_admin_group()"
> function?
You can access the groups via the ManyRelatedManager, which exposes a queryset:
user.groups.filter(...)
eg: if user.groups.filter(name="Admin")
-
ed to
do full text searches or searches on more than one model at a time, then you
will need something like haystack.
--
Andy McKay, @clearwind
http://clearwind.ca/djangoski
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
> I would like to include the following values on my admin pages, as
> part of the base_site:
> time_to_query_database
> time_to_render_page
django-debug-toolbar has all that and more
--
Andy McKay, @clearwind
http://clearwind.ca/djangoski
--
You received this message bec
o and its gone extremely well. It's not on djangosites because the
NDA denies it.
What you might need to consider if you are pitching to management is making
sure that training, consulting and support is available from companies (which
it is).
--
Andy McKay, @clearwind
http://clear
x things (CouchDB, ZODB, blobs-in-RDBMS-tables)?
Has anyone built a nontrivial system this way, and what happened?
Thanks for all feedback.
Andy
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djan
On 2010-03-11, at 8:50 AM, Tom Evans wrote:
> djangogigs.com
djangozen.com/jobs as well (and it's free)
--
Andy McKay, @clearwind
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
e a function that accepts a user
> argument" untenable.
No, but there's lots of other solutions. Marty Alchin solves this nicely with
CurrentUserMiddleware:
http://bit.ly/9lIxsM
I've been wanting to make this into a reusable app for a long time, but the
license on that code
> Does anybody have any clue what the problem might be? Thanks for your help!
There should be no difference really between the two. What might help us if you
show us the code that the runs from the shell and the code in the view.
--
Andy McKay, @clearwind
--
You received this message beca
>template_name='newssite/writer_archive.html',
>template_object_name='stories',
Presumably you've used pdb or simple print statements in your code to verify
the results that the queryset is empty?
After that, look at your templates (this loo
r erland and python):
http://code.activestate.com/recipes/534162-an-erlang-port-in-python/
or using the builtin popen functions:
http://docs.python.org/library/os.html#os.popen
--
Andy McKay, @clearwind
--
You received this message because you are subscribed to the Google Groups
"Django
ugh for me ;)
--
Andy McKay, @clearwind
Django Consulting, Training and Support
--
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 group, send em
age
first and then settle down with the tools written in it.
[1] http://dev.pocoo.org/projects/werkzeug/wiki/UsingDebuggerWithDjango
Cheers,
Andy
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
>
> def login(request):
> html = "HI"
> get_template('prova.html')
> return HttpResponse(html)
--
Andy McKay
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
pinco wrote:
> Hi,
>
> I'm trying to figure out how to solve the following issue without
> succeed.
>
> I have a model like this:
>
> class Product(models.Model):
>...
>measure_cm = models.FloatField(...)
>measure_in = models.FloatField(...)
> ...
>
> The fields contain the same info
line 161
I have checked that the django tutorial app still works, so the
problem seems to be with what I've done rather than the django
installation.
any help appreciated. thanks,
andy baxter.
--~--~-~--~~~---~--~~
You received this message because you are
hello,
I have subscribed successfully to the group, and can read it online,
but I'm not receiving emails sent from the group, even though I have
asked to when subscribing. Is this a known issue? Can any of you do
anything about it or should I contact google?
thanks,
andy b
27;m planning on doing something similar with my app.
andy.
--~--~-~--~~~---~--~~
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 unsubs
seem to be
working. What is the right way to set this up? for example is there a
python command you can run to force all the modules in a given path to
compile?
andy baxter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
andy baxter wrote:
> hello,
>
> I have just installed a demo of an app I'm writing to a web server.
> There seems to be an intermittent error, and I'm wondering if this is to
> do with the permissions on the directories - I've tried to set the
> permissions
andy baxter wrote:
> andy baxter wrote:
>
>> hello,
>>
>> I have just installed a demo of an app I'm writing to a web server.
>> There seems to be an intermittent error, and I'm wondering if this is to
>> do with the permissions on the director
. If it happens again I'll paste the error message here. It
was an intermittent error - if I left it for a minute or two and tried
again it cured itself without my having done anything to the machine.
andy.
--~--~-~--~~~---~--~~
You received this message bec
Michael Wieher wrote:
> I had an intermittent error when using just apache/mod_python, but
> haven't had it happen since i started w/django
>
It looks like the speed issue is to do with memory - with just apache2,
mysqld and django running, it was 72M into swap. So I guess I need to
get a faste
re using ./manage.py syncdb
- then re-import the data using 'mysql -p -f databasename <
dumpfile.sql' (try first without -f to check for errors).
This seems to work pretty well for minor changes - e.g. making a field
allow nulls, or adding a new non-relational field.
andy.
--~--~
andy baxter wrote:
>
> Not sure if it's quite an answer to your question, but I've been dealing
> with a similar problem which is how to keep the test data I've added to
> the system between (mostly minor) changes to the database. The approach
> I've taken
'm not
so sure about, such as whether to check strings that will go into html
for unwanted tags.
How much of this kind of stuff is done automatically and how much do you
have to think about yourself? It would be nice to have a summary of
security issues in the documentation s
Claudio Escudero wrote:
> Hi,
>
> Someone knows there is any middleware that works with Ajax, similar to
> RJS of Ruby on Rails?
>
Do you mean middleware specifically written for django? If so not sure,
but it might be worth looking at dojo (http://www.dojotoolkit.org/). It
is a javascript tool
Sarah Johns wrote:
> Hello, im a newbie so sorry to bother anyone, but i have problems with
> my site, i cant see the videos that i attached. whats wrong? Thanks
> for the help, the site adress is this: http://www.videoriporter.hu
>
To be honest I thought your message was cleverly targetted spa
Jarek Zgoda wrote:
> Chris Hoeppner napisał(a):
>
>
>> This is new to me. Dojo will be the official js toolkit for django?
>> Above jQuery? How come?
>>
>
> No. It was stated many times: Django would not have any "official js
> toolkit" and will not "be bound to" or "embrace" any single to
}
}
The only problem (I can see) with this method is it might make it hard
to later on add i18n alternate language functionality to your code using
the django framework for that.
andy.
Polat Tuzla wrote:
> Hi,
> I'd like to build two sites, say, two polls sites, e
Cephire wrote:
> Thanks Karen. It helped. But I got another error.
>
> AttributeError: 'module' object has no attribute 'admin'. Searching
> through the net, I found that __init.py__ should be present in the
> directory. It does have __init.py__.
>
> Should all directories (like media, templates)
James Bennett wrote:
> On Tue, Apr 8, 2008 at 1:38 AM, jurian <[EMAIL PROTECTED]> wrote:
>
>> Are django applications meant to be implemented in such a manner as to
>> allow the entire application directory to be copied into another
>> project and used without having to alter any of the code
Tim wrote:
> I've got a couple Django apps running on Plesk. It's not the greatest
> but it works.
>
> First, after you set up your subdomain, you'll need to create the
> file:
> /var/www/vhosts/ domain.fr/subdomains/django/conf/vhost.conf
>
> Here's the contents of mine:
> --
> DocumentRo
Greg Lindstrom wrote:
> Hello Everyone-
>
> I started learning Django at PyCon in Chicago and have worked most of
> the way through the "Django Book" and Sams "Teach Yourself Django", as
> well as "Head First HTML with CSS and XHTML". It's been quite a lot
> for this old dog, but I'd like to t
a.f wrote:
> am intersting in web desgining & puplishing
> e books & soft wear
> seo & ather stuff
>
If you can read this, you're already subscribed to the group.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
James Bennett wrote:
> On Fri, Apr 11, 2008 at 1:09 PM, andy baxter
> <[EMAIL PROTECTED]> wrote:
>
>> What /should/ be inside the project folder?
>>
>
> I often get severely flamed for saying this, but:
>
> I very rarely have a "project folder&
brydon wrote:
> I'm curious what people are currently using for search frameworks on
> django based projects. I've done a fair bit of research here and
> elsewhere and I still haven't landed on a clear decision. What are
> people successfully using with django to get robust search
> capabilities a
[EMAIL PROTECTED] wrote:
> when i run the command above it shows this message , what is the
> problem i have successful installed django and i want step to run the
> server and
> $ python manage.py runserver
> Validating models...
> Unhandled exception in thread started by 0xb7a7995c>
> Traceback
g">
However, microsoft have added a 'feature' to IE7 which prevents it from
opening URLs of this sort, in order (they say) to prevent the risk of
spoofing attacks like links with the form:
http://[EMAIL PROTECTED]
see:
http://support.microsoft.com/kb/834489
andy.
--~--~--
of doing things here, from the point
of view of keeping the code simple, and also minimising the time spent
doing database lookups? (I'm guessing that looking up a User from a
Member is slightly quicker than looking up a Member from a User).
andy
--~--~-~--~~~
meant to retrieve the
self_description field from the Member object associated with the given
User. But this raises a template error: 'Too many values to unpack'
Is it possible to refer to profile data in the template like this, or do
I need to
andy baxter wrote:
> Alex Koshelev wrote:
>
>> I usually make link to User model not profile. And have no problems
>> with usage.
>>
>>
>>
> I just tried switching to this way of doing it, and have come up against
> a problem with gettin
Juanjo Conti wrote:
> Hi all,
>
> I am worried about how to model the next scene (this is an example, but
> an appropriated one): In the model we have People, and there are
> different kind of people, let's say: Professors, Students and Other.
> Each People object has a 'type' attribute. Type c
uct name here)
{% endfor %}
{% endfor %}
Then you could have a template which recursively included itself, and
passed a parameter to say which branch of the tree to render next. But
I'm not sure how this would work with django's way of rendering templates.
Just my thoughts,
andy.
--~--~
andy baxter wrote:
> you want a tag that would let you write an include file like:
>
> {% for category in categorybranch %}
>
sorry that should be {% for category in categorybranch.sub_cats %}
> (print category name here)
> {% include "self.html" with categor
ata which needs to be managed and backed up, and if it has
a structured naming convention, it really helps.
The only thing better would be storing BLOBS in the database table
directly
(he says, donning an asbestos suit and running for cover...;-) )
- Andy Robinson, ReportLab
--~--~-~-
On 2/28/07, Adam Seering <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm trying to introspect an old MySQL database (the old software
> that used the database was written in some nasty mix of Perl and C;
> it just bit the dust recently). I try an inspectdb on it, and I get
> an ugly-looking
On 3/20/07, chasfs <[EMAIL PROTECTED]> wrote:
>
> Thanks for the quick reply! Do you know if Django has been tested
> with MySQLdb
> 1.2.2?
Yes. 1.2.2 is the best version you can get. Trust me.
> On Mar 20, 11:20 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> > On 3/20/07, chasfs <[EMAIL PROT
On 3/20/07, dbee <[EMAIL PROTECTED]> wrote:
>
> System: Linux 2.6.9-34.0.1.EL #1 Wed May 24 07:40:56 CDT 2006 i686
> athlon i386 GNU/Linux
> OS: CentOS
> Python: 2.3.4
> Mysql: 5.0
>
> I'm having lots of issues trying to get my django server up. It seems
> that mod_python won't work on my system.
On 5/1/07, Brandon Low <[EMAIL PROTECTED]> wrote:
>
> How can a get_or_create cause an integrity constraint error?
The error is on key 2, which is an additional unique index you
presumably have in your model. get_or_create should not cause
integrity errors on the primary key, but that's not what'
301 - 400 of 630 matches
Mail list logo