On Mon, May 3, 2010 at 12:02 PM, Wiiboy wrote:
> What would be the best workaround (or is there one)?
> Perhaps overriding FormWizard.process_step()?
The only obvious workaround I can think of is to treat the N-form
wizard problem as a (N-1) form wizard, plus 1 normal form that handles
file uploa
On Wed, May 5, 2010 at 1:43 AM, J. Cliff Dyer wrote:
> I'm having trouble working with multi-db using mysql replication. When
> I run our test suite, I'm getting several hundred errors if I have more
> than one database configured, and none if I have only one configured.
>
> It seems that somethi
On Thu, May 6, 2010 at 3:04 AM, Darren Mansell wrote:
>
> It's election day tomorrow. This is a great web site for lots of info about
> what's really going on:
> [http://www.38degrees.org.uk]
This is a forum about using Django. The site you reference is in no
way relevant to that topic (as far a
On Thu, May 6, 2010 at 7:58 AM, Parker
wrote:
> I'm trying to port part of an existing application to Django. In the
> other application, each user has their data stored on separate
> databases with identical schemas.
>
> For example, if we have users A, B and C, there are 3 databases
> ("Databas
On Fri, May 7, 2010 at 7:06 PM, thierry wrote:
> Hi all,
>
> Have django developers planned the integration of new model fields
> capable to store multidimensional data ?
It's possible right now. As an example, GeoDjango contains fields for
composite, multidimensional data (spatial points and pol
On Thu, May 6, 2010 at 7:50 PM, zinckiwi wrote:
>> I was hoping for an elegant solution for when I know there's going to
>> be several thousand plus instances (or hundreds of thousands after a
>> year or two of deployment). So in the end, I guess I can work with it,
>> but mostly I was hoping to
On Tue, May 11, 2010 at 5:18 PM, thierry wrote:
> This bug is 4 years old. Weird that It was not corrected yet because
> it seems to be a core functionality of the ORM. Do django developpers
> have planned something before 1.2 stable release ?
No, we don't have anything planned before 1.2 goes fi
On Tue, May 11, 2010 at 10:21 PM, Dirk Eschler wrote:
> Hello,
>
> i'm in the process of upgrading a project to django-1.2-rc1. While the project
> specific tests passed with django-1.1.1, they all fail now with django-1.2-rc1
> (see example below). Any idea what's going wrong?
At a guess -- you
On Thu, May 13, 2010 at 10:27 PM, GRoby wrote:
> Hello,
>
> I am using Django 1.2 RC 1 and have setup multiple databases. I have
> everything working if I manually specify .using, for example:
>
> SomeObjects = ModelInDefaultDatabase.objects.all() #This Works
>
> SomeObjects = ModelInDatabase2Na
On Fri, May 14, 2010 at 10:47 PM, Ozgur Yılmaz wrote:
> Hi everybody,
>
> Do anyone knows a Python Database framework, which resembles Django's
> approach to database programming? I need it to use outside of Django, for
> other Python scripts.
Is there some fundamental reason that you can't just
On Sat, May 15, 2010 at 3:04 AM, ses1984 wrote:
> I am interested in writing unit tests to cover some custom commands I
> have written, but I'm unsure how I can pass options to these commands
> through my unittest.TestCase classes.
>
> I have a command to import data from my client's flat file sys
On Fri, May 14, 2010 at 5:29 AM, geraldcor wrote:
> Hello,
>
> Some background first. I am working with a legacy database that is not
> only legacy, it is legacy Microsoft access so there is some hacking
> going on. I am accessing a MySQL backend and my models are set up to
> use the existing tabl
On Mon, May 17, 2010 at 7:06 AM, cool-RR wrote:
> I'm just working on a book for my own project, and I was wondering: Is
> the Django book written in ReST/Sphinx? I am considering whether I
> should write my book with that.
This is slightly off topic for this list, but I would advise that this
is
2010/5/17 Alper Çuğun :
> Hello,
>
> A quick Google search reveals a ton of confusion about:
> Meta: order_with_respect_to
>
> I have an abbreviated Model:
>
> class NewsItem(models.Model):
> # newsitems will be linked to blogs and projects
> content_type = models.ForeignKey(ContentType)
>
On Mon, May 17, 2010 at 5:55 PM, Dennis Decker Jensen
wrote:
> Hello!
>
> I've been using django for a while now, and been around in the
> documentation and a bit in the source code as well. I have a site
> setup along the lines of the tutorial, nothing fancy, a flat urls.py
> and no fancy use of
On Mon, May 17, 2010 at 6:56 PM, Antoni Aloy wrote:
> Hello,
>
> On the main Django page the official version is 1.1.1 but there is a
> new 1.1.2 version even documented if you make a search on the Django
> site. Is the 1.1.2 officialy supported?
Unofficially, yes it is officially supported :-)
On Tue, May 18, 2010 at 6:12 PM, ben wrote:
> Hi All,
>
> After a recent svn update to my copy of Django/trunk I’ve been getting
> a persistent error relating to module loading (see below). I am able
> to create the same error from many but not all views/requests.
>
> Interesting, when I run my co
On Tue, May 18, 2010 at 12:45 PM, Phlip wrote:
> Djangoists:
>
> The documentation for Model.objects.create(**kwargs) does not define
> kwargs. It just sez "kwargs".
>
> I think all of our experiences would bear out "kwargs" may at least be
> the model's fields.
Correct.
> But what about 'Foreig
class CheckIn(models.Model):
sample_id = models.AutoField(db_column='SampleID', primary_key=True)
date_arrived = models.DateField(db_column='DateArrived')
company_name = models.CharField(max_length=100, db_column='Company')
< plus any extra fields >
class Meta:
db_table
On Thu, May 20, 2010 at 3:17 PM, ben wrote:
>
>
> On May 18, 9:35 pm, Russell Keith-Magee
> wrote:
>> On Tue, May 18, 2010 at 6:12 PM, ben wrote:
>> > Hi All,
>>
>> > After a recent svn update to my copy of Django/trunk I’ve been getting
>> >
On Fri, May 21, 2010 at 1:47 AM, Joe D wrote:
> Has anyone had any luck running Django on IronPython ?
Testing under IronPython hasn't been part of our regular testing
regimen, so I can't comment on the level of compatibility.
> This seems to have been reported to the IronPython team here:
>
> h
On Fri, May 21, 2010 at 9:41 AM, Werner wrote:
> Hello,
>
> How can you include annotated results in a serialized QuerySet?
>
> I have this serialized query:
> serializers.serialize('json',
> Song.objects.filter(is_playing=False).annotate(nr_votes=Count('votes')).order_by('-nr_votes'))
>
> Howeve
On Wed, May 26, 2010 at 2:54 AM, Lakshman Prasad wrote:
> Hi,
> Since I upgraded to 1.1.2, I am unable to send mails as django seems
> expecting a EMAIL_BACKEND.
Something is severely broken with your setup, then. EMAIL_BACKEND is a
setting that was introduced in Django 1.2, but it doesn't exist
On Fri, May 28, 2010 at 12:59 PM, Rolando Espinoza La Fuente
wrote:
> On Thu, May 27, 2010 at 2:00 PM, dmitry b wrote:
>> So, no one is running automated tests?
>
> I'd added a patch that adds the --noinput option to testserver command:
> http://code.djangoproject.com/ticket/12619
I've just mark
On Wed, Jun 2, 2010 at 4:01 PM, wrote:
> Hello,
>
> I am currently working on a project on which we access two different
> databases.
> One is a legacy database used by another application, the second being the
> django dedicated db.
> For some reason, I need to have model links (FK) from the dja
On Thu, Jun 3, 2010 at 6:31 PM, kakarukeys wrote:
> I am developing a django web app which does some web publishing
> (pushing some data to website). My customer is already using
> ExpressionEngine 2.0 for publishing, hopes that I can reuse the CMS
> for any publishing purpose. They does not wish
On Thu, Jun 3, 2010 at 7:48 PM, kakarukeys wrote:
> On Jun 3, 7:23 pm, Russell Keith-Magee
> wrote:
>> On Thu, Jun 3, 2010 at 6:31 PM, kakarukeys wrote:
>> > I am developing a django web app which does some web publishing
>> > (pushing some data to website)
On Fri, Jun 4, 2010 at 12:03 PM, Jason Beaudoin wrote:
> Silence usually implies some key piece of documentation was missed, or
> was this just lost amongst more interesting posts? :)
You've missed two important alternatives:
* The people who can answer your question are busy
* Nobody can under
On Sunday, June 6, 2010, Jason Beaudoin wrote:
> On Fri, Jun 4, 2010 at 2:42 AM, Russell Keith-Magee
> wrote:
>> On Fri, Jun 4, 2010 at 12:03 PM, Jason Beaudoin
>> wrote:
>>> Silence usually implies some key piece of documentation was missed, or
>>> was thi
On Sun, Jun 6, 2010 at 8:05 AM, cootetom wrote:
> Hi all,
>
> I've decided to upgrade to 1.2 but have hit a stumbling block with the
> cycle tag. The release notes here
> http://docs.djangoproject.com/en/dev/releases/1.2/#stateful-template-tags
> say that because of the new thread safe template r
On Mon, Jun 7, 2010 at 1:54 PM, Dane wrote:
> Any suggestions on where to post to find experience Django
> developers?
Three suggestions:
* djangogigs.com
* djangozen.com/jobs
* hiddenhires.com - this hasn't been officially launched yet, but
it's being organized by Jacob Kalplan-Moss and a co
On Tue, Jun 8, 2010 at 12:12 AM, Rob B (uk) wrote:
> I work for a small digital agency (10-15 employees). We design and
> build websites (using php and Django). Are we better off building our
> own intranet using django or going for a pre built (free or paid for)
> solution?
>
> Key features nee
On Tue, Jun 8, 2010 at 4:07 AM, gvkalra wrote:
> Hi.
> Please have a look here:
> http://docs.djangoproject.com/en/1.2/topics/db/models/#many-to-many-relationships
>
> The line I am pointing to is:
> As with ForeignKey, you can also create recursive relationships (an
> object with a many-to-one r
On Wed, Jun 9, 2010 at 5:47 AM, Federico Capoano
wrote:
> Hello to all,
>
> I just upgraded to revision 13336, I tried then to add a post on my
> blog but I got an error. I tried then to save any other object in the
> admin but I get always the same error:
>
> "DatabaseError: function pg_get_seria
On Wed, Jun 9, 2010 at 6:27 PM, Federico Capoano
wrote:
> I have PostgreSQL version 7.4.27 on my server. The reason for which I
> use this version is that is the latest version available for webmin
> and my VPS use it.
In your defense, you didn't miss anything. We haven't documented a
minimum re
On Thu, Jun 10, 2010 at 7:26 PM, Federico Capoano
wrote:
> Yea, you're right, thank you so much guys.
>
> I downloaded django 1.2.1 stable and put that for the moment.
>
> When I'll have time I will upgrade postgres.
FYI - I've just reverted r13328, so the 1.2 branch will support
Postgres 7.4 aga
On Thu, Jun 10, 2010 at 9:05 PM, Plovarna wrote:
> Hello,
> I recently migrated from Django 1.1.2 to 1.2.1. When I run my test now, I get
> a lot of PendingDeprecationWarning messages in console during Installing
> index "phase". For example:
>
> ...
> Creating table basket_basketitem
> Creating
On Mon, Jun 14, 2010 at 10:22 AM, JRMAbock wrote:
> well ive actually tried setting it to django.contrib.backends.dummy
> and it says the same thing.
Why did you try to set it to dummy? The comment in the settings file says:
# Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracl
On Tue, Jun 15, 2010 at 7:12 PM, johan de taeye
wrote:
> Hello,
>
> In my application a number of databases are configured with identical
> schemas.
> From a dropdown box on the screen, the user selects the database he/
> she wants to work with. The selected database is stored on the
> cookie.
>
On Tue, Jun 15, 2010 at 9:11 PM, johan de taeye
wrote:
>
>> You can't do this with a router; as you've noted, the router doesn't
>> have any information about the request in which it is being used.
>>
>> However, you could do it by manually requesting your database
>> connection whenever you use t
On Wed, Jun 16, 2010 at 11:55 PM, ryan wrote:
> I noticed this first in the Django Admin. If you have 100 rows in
> Table A, and 5 of those have a foreign key entry pointing to a
> nonexistent item in Table B, rather than throwing an error, the admin
> displays 95. This happens if you set
> list_
On Thu, Jun 17, 2010 at 5:40 AM, Peter Bengtsson wrote:
> This is a new feature of Django 1.2. I'm curious, why does it want to
> do this? I want to control this for my settings so that I can things
> like disabled verify_exists on my URLFields when I run tests.
No, it isn't a new feature at all.
On Thu, Jun 17, 2010 at 12:26 AM, finn wrote:
> Hi,
>
> I have with interest followed the thread "Seeking Django vs. Joomla
> comparison", and it has inspired me to start this new thread.
>
> I consider myself a Python/Django programmer, and I do so because my
> experiences with a number of progra
On Thu, Jun 17, 2010 at 10:06 PM, Richard Shebora wrote:
> @Matt
>
> You are correct. The "drupal/joomla/plone/wordpress space" does exist
> and it is where most people (non-developers) look first. These are
> the people who need to perceive django in a more positive light if the
> goal is to in
On Fri, Jun 18, 2010 at 8:16 PM, Richard Shebora wrote:
> Finn,
>
> My idea for a "Pet" project is not to promote a particular project.
> We simply need a project with a relatively large number of "re-usable"
> apps that can be brought into compliance with the "Best Practices"
> guidelines. While
On Sun, Jun 20, 2010 at 11:51 PM, Richard Shebora wrote:
> Russ,
> Thanks for this clarification. After reading your post I went
> to http://pinaxproject.com/ and do indeed see your point. I am happy to
> jump on board and help with the project that is the generally accepted place
> for learning
On Mon, Jun 21, 2010 at 8:49 PM, donato.gr wrote:
> I had to clean my application database from old models without losing
> data.
> So, I copied my tables to another db, dropped them, run syncdb and
> copied data back.
> But the app stopped working, because some tables used GenericRelations
> and
On Tue, Jun 22, 2010 at 4:08 AM, maxweld wrote:
> I am working with my virtual hosting provider to enable him support
> Django. I have used him for ages, and having converted myself to
> Django would like to help establish another hosting provider with
> support for Django.
>
> I have a configurat
On Thu, Jun 24, 2010 at 1:07 AM, David De La Harpe Golden
wrote:
> On 23/06/10 16:48, thusjanthan wrote:
>>
>> Hi,
>>
>> I am creating a new django framework and figured django would come
>> with its own logging feature. I found this one that Fraser wrote but
>> is no longer in development (http:/
On Thu, Jun 24, 2010 at 1:08 AM, ff wrote:
> I bought a early bird ticket a few days ago. It said that the hotel
> was going to cost $104. Is that value per night, or is it for all 7
> days of the conference? It doesn't say.
It doesn't say because it's pretty much implied -- it's $104 a night
On Thu, Jun 24, 2010 at 1:25 AM, Keats wrote:
> Hi,
> when authenticate is called i get this error http://dpaste.com/210674/
> though the user exist in database... is authenticate known to not work
> with multiple database context ?
I'm not aware of any problems. The authenticate code doesn't do
On Wed, Jul 7, 2010 at 1:39 AM, maxweld wrote:
> Thanks Russ for the information.
>
> I am very interested in the new self.stdout and self.stderr feature of
> management.commands. I can see that this is implemented in trunk for
> some commands but not yet for others. I guess the others will come i
On Fri, Jul 2, 2010 at 9:02 PM, felix wrote:
> you might have already seen this ticket:
>
> http://code.djangoproject.com/ticket/7561
>
> re: post-sync isn't actually post sync
If you search the django-dev archives, you'll find some discussion
around this ticket. Any proposal in this area needs t
> On Jul 8, 7:25 am, Kenneth Gonsalves wrote:
>>
>> any reason why get_model() in django.db.models is not documented? Or is it
>> just that I cannot find it?
No - it isn't documented. The app/model loading APIs are in the same
category as _meta -- API that is fairly important for
meta-programming
On Fri, Jul 9, 2010 at 1:56 AM, Joshua D. Drake wrote:
> Hello,
>
> I wanted to let the Django community know that PostgreSQL has stated an
> EOL (End of Life) for PostgreSQL versions 7.4, 8.0, and 8.1.
>
> If you are running any version of PostgreSQL 7.4, 8.0 or 8.1, it is time
> to upgrade to 8.
On Fri, Jul 9, 2010 at 6:50 AM, lfrodrigues wrote:
> Hello,
>
> I had some copies of a model with 10 fields serialized in a file.
>
> I deleted some of the fields (since I don't need them anymore) now I
> can't deserialize the model.
>
> error: raise FieldDoesNotExist, '%s has no field named %r' %
On Fri, Jul 9, 2010 at 1:41 AM, tiemonster wrote:
> It seems that when running unit tests, the test runner not only
> creates all tables on both of my connections (which it should not do,
> if I read the documentation correctly),
Tables will be created on all connections, according to the syncdb
On Thu, Jul 8, 2010 at 11:53 PM, Nick Raptis wrote:
> Sorry for the rant but I can finally express my delayed frustration on this
> bug..
>
> I first I spent some 2-3 hours trying to find out if this problem came from
> a broken ipv6 configuration.
> Then, I actually had to delete all my profile f
On Sunday, July 11, 2010, Phui Hock wrote:
> Hi,
> It seems that if I split a URL with unnamed capturing groups into
> different urls.py files, urlresolvers.reverse(..) doesn't work as
> expected. For example:
>
> --- root urls.py ---
> (r'^foo/(.*)/', include('foo.urls'))
>
> --- foo/urls.py ---
On Saturday, July 10, 2010, zweb wrote:
> Assume there is many to many between publication and article. (example
> from django docs)
>
> By default following stmt will auto save the relationship between
> a_publication and article11 in database.
>
> a_publication.articles = [article11]
>
> how do
On Wed, Jul 14, 2010 at 6:47 PM, George Sakkis wrote:
> On Jul 12, 3:59 pm, Andi wrote:
>
>> On Jul 12, 3:40 pm, Nick Raptis wrote:
>>
>> > Yea, for some reason, my thoughts went to Weave too. Maybe it has
>> > something to do with it, maybe it doesn't. Haven't got any more trouble
>> > since I
On Thu, Jul 15, 2010 at 7:11 PM, Nick Raptis wrote:
> On 07/15/2010 05:55 AM, Danny Adair wrote:
>>
>> Hi,
>>
>> I had the exact same problem, and I had _not_ installed Weave.
>> The offending config entry in my case was:
>> "chrome://global/locale/intl.properties"
>> and it was at the bottom of t
On Thu, Jul 15, 2010 at 7:33 PM, Nick Raptis wrote:
> On 07/15/2010 02:20 PM, Russell Keith-Magee wrote:
>>
>> You, mean, like... oh, I don't know... one of the core developers of
>> Django? Like the one that's been asking for details on how to
>> reproduce
On Mon, Jul 19, 2010 at 6:06 PM, Kenneth Gonsalves wrote:
> On Monday 19 July 2010 15:27:20 Mike Dewhirst wrote:
>> At that point you will be in a position to look at the source code of
>> the CMS you implemented via your hosting provider and make any
>> configuration tweaks which suit your needs.
Hi Yngve --
I just wanted to let you know that your report has been heard -- I
just haven't got a lot of spare cycles at the moment to dig into this
problem. Hopefully that situation will improve in the near future.
Here's some quick and (possibly) helpful explanatory notes:
Django 1.2 started i
On Wed, Jul 21, 2010 at 9:18 PM, Rory Hart wrote:
> Hey Folks,
> Just wondering if anyone had been squirreling away on the composite primary
> key support that David Cramer and others were working on. It doesn't appear
> any commits have been made on the git for almost a year and a half so I'm
> w
On Thu, Jul 22, 2010 at 4:06 PM, Andy wrote:
>>
>> I'm not completely sure what you're trying to do, but I have a blog
>> entry on creating temporary models programmatically - it might help
>> you:http://blog.roseman.org.uk/2010/04/13/temporary-models-django/
>
> What I'm trying to do is to shard
On Sat, Jul 24, 2010 at 9:03 AM, Andy wrote:
> I'm trying to shard my database horizontally.
>
> In another thread (http://groups.google.com/group/django-users/
> browse_thread/thread/2748cdf205b5cf3e/
> e8fe5087748d3c43#e8fe5087748d3c43) I was told it's best to use the
> Database Router to implem
On Sat, Jul 24, 2010 at 1:40 PM, Andy wrote:
>
>> Ah - this is possibly the source of confusion. Django's Routers can
>> shard to different databases, but not to different tables in the same
>> database.
>>
>> Why do you want to shard into different *tables*? The usual
>> interpretation of shardin
On Sun, Jul 25, 2010 at 7:16 AM, Andy wrote:
>
>> The db_for_read() and db_for_write() methods accept a model, and
>> usually a hint. If provided, the hint will be the instance the
>> database operation is acting on (or an instance related to the
>> operation). These methods return the alias of th
On Wed, Jul 28, 2010 at 9:29 PM, Massimiliano Ravelli
wrote:
> On Jul 28, 3:13 pm, knight wrote:
>> What are the minimal changes that I need to make in order to work with
>> 1.2.1?
>
> Did you have a look at
> http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
> ?
As it says at the
On Wed, Jul 28, 2010 at 9:33 PM, Maksymus007 wrote:
> On Wed, Jul 28, 2010 at 3:29 PM, Massimiliano Ravelli
> wrote:
>> On Jul 28, 3:13 pm, knight wrote:
>>> What are the minimal changes that I need to make in order to work with
>>> 1.2.1?
>>
>> Did you have a look at
>> http://code.djangoproje
On Fri, Jul 30, 2010 at 8:14 PM, tiemonster wrote:
> I cover some of the new changes in Django 1.2 in this article:
> http://www.tiemonster.info/a/24005/
>
> Most of this information comes straight from the changelist. Others
> were things that the core developers must have assumed were common
> s
On Sat, Jul 31, 2010 at 9:45 PM, Michael P. Soulier
wrote:
> On 30/07/10 tiemonster said:
>
>> I cover some of the new changes in Django 1.2 in this article:
>> http://www.tiemonster.info/a/24005/
>>
>> Most of this information comes straight from the changelist. Others
>> were things that the cor
On Sun, Aug 1, 2010 at 10:35 PM, mayikmaster wrote:
> hello and thank you for this great project which I have learned so
> much. I would like to know what will happen with djanggo 1.3 Where
> we've heard.many thanks
Formal plans for Django 1.3 have not yet been announced.
However, as a rough ind
On Wed, Aug 4, 2010 at 7:20 AM, lukaszb wrote:
> Hi all,
>
> I'd like to announce django-guardian - very basic yet usable per
> object permissions
> implementation for Django 1.2, using new authorization backend
> facilities.
>
> It was created during 2 days sprint, code have been released and may
On Wed, Aug 4, 2010 at 6:40 PM, Reinout van Rees wrote:
> Hi,
>
> http://docs.djangoproject.com/en/dev/topics/testing/#multi-database-support
> tells me to add "multi_db = True" to my unittest TestCase class to get multi
> db support.
>
> I'm using a doctest, however, and I can't figure out how to
On Thu, Jul 29, 2010 at 6:02 PM, Xavier Ordoquy wrote:
> Hi there.
>
> I'm currently working on a project where I use a legacy database with a
> django one.
> I've setup the multi database support and it seems to work pretty well.
> However, I'm getting an issue with testing.
>
> I need a fixture
On Thu, Aug 5, 2010 at 3:44 PM, Xavier Ordoquy wrote:
> Hi Russ,
>
> Indeed, my investigations have lead me to #14025 which fixed the major issue.
>
> If I remember correctly the corrupted file part was due to the fact that I
> was still using an "old style" fixture filename - ie .json instead of
On Thu, Aug 5, 2010 at 3:32 AM, lukaszb wrote:
> Thanks for the comment! I really do think that this "backends ready &&
> included" parts of Django are extremely useful (and fun to extend if
> needed).
>
> About the admin, I haven't really get into admin integration yet as I
> cannot answer this:
On Mon, Aug 9, 2010 at 7:28 AM, Ersin Er wrote:
> Hi,
>
> I was just trying the sample code from the Django Book 2nd Edition but
> the generated SQL script for the Books models are not correct.
>
> The Model code:
>
> http://dpaste.com/226416/
>
> The generated SQL script for sqlite:
>
> http://dp
I use PostgreSQL on my Mac as well as MySQL, and I've had many fewer
problems with PostgreSQL than I've had with MySQL.
My personal opinion: Ignore all the ports/fink stuff, and get a good
native PostgreSQL install:
http://postgresqlformac.com
The 8.4.3 installer has some known problems (easy to
On Sat, Aug 14, 2010 at 7:40 AM, Antoni Aloy wrote:
> Hello!
>
> Today I have been benchmarking a Django template to PHP compilar
> called Haanga http://github.com/crodas/Haanga/ a development sponsored
> by meneame.net a Digg like spanish site. Ricardo has made some sort of
> benchmark http://gal
On Sun, Aug 15, 2010 at 6:38 PM, DjangoRocks wrote:
> I was wondering if South would be added as part of the standard Django
> release?
Almost certainly not. However, I have spoken with Andrew about getting
*parts* of South integrated into Django.
If you dig into it, South really consists of thr
On Fri, Aug 13, 2010 at 3:14 AM, Shawn Milochik wrote:
> Good question. According to the dumpdata docs, the available formats are here:
>
> http://docs.djangoproject.com/en/1.2/topics/serialization/#serialization-formats
>
> And 'python' does indeed show in that list. However, that page does
> men
On Fri, Aug 6, 2010 at 2:54 AM, Steven L Smith wrote:
> Hello,
>
> I've been charged with creating a front-end in Django for a MSSQL
> database. It
> has to stay in MSSQL for various other reasons, so just using our
> normal
> Postgres stuff won't work.
>
> It is all working, except for the intern
On Wed, Aug 18, 2010 at 3:22 PM, PieterB wrote:
> Can it be disabled globally?
If you have a Django 1.1 project that you have upgraded to 1.2, then
CSRF protection will *not* be enabled by default. In order to enable
it, you need to follow the migration instructions in the 1.2 release
notes.
The
On Wed, Aug 18, 2010 at 2:20 PM, PieterB wrote:
> No I did not.
> I've only a modified (created) admin.py for each app in the project.
>
> Maybe this is also important: we use a proxy, maybe it's something
> with the cache?
> What can cause csrf verification to go crazy?
Depends on the operation
On Wed, Aug 18, 2010 at 2:32 PM, James Saxon wrote:
> I've run into a similar situation where I'm getting CSRF errors
> inconsistently. I made sure I had the token and that I was using
> RequestContext. I haven't found out exactly what's wrong yet...
> I have not run into the situation in the ad
On Wed, Aug 18, 2010 at 3:05 PM, Aspontus wrote:
> Hi.
> I have run into a consistent CSRF error in admin.
> It occurs when user tries to change his/her password.
> Every single time it returns CSRF error.
> My admin templates are not modified.
You're going to need to provide more detail than tha
2010/8/18 Aspontus :
> Sorry, I haven't thought it through.
> Server is running:
> - Debian GNU/Linux 5.0 with 2.6.32.2 kernel
> - Python 2.5.2
> - Django 1.2.1
> - MySQL 5.0.51 (with MySQLdb 1.2.2) - default engine InnoDB
> - Apache2 with mod_python 3.3.1
> Browsers are in default polish confi
On Thu, Aug 19, 2010 at 3:44 PM, mack the finger wrote:
> i submitted two talk proposals for djangocon, but neither was
> accepted. I can easily condense both topics into 5 minute
> presentations. I have never attended a "con" such as djangocon, so
> forgive me. How do lightning talks work? Do you
On Thu, Aug 19, 2010 at 7:06 PM, Andy wrote:
> I have a model Tweet that I'd like to shard horizontally based on the
> tweet author's id.
>
> class Tweet(models.Model):
> author_id = models.IntegreField()
> text = models.TextField()
>
>
> Let's say I set up 3 databases: shard0, shard1, shard
On Fri, Aug 20, 2010 at 6:48 AM, Andy wrote:
>
>
> On Aug 19, 9:28 am, Russell Keith-Magee
> wrote:
>
>
>> You've got the right idea, but the implementation you provide probably
>> won't be comprehensive enough in practice. The hint is any extra
>>
On Fri, Aug 20, 2010 at 9:57 AM, hcarvalhoalves
wrote:
> On 19 ago, 22:03, Russell Keith-Magee wrote:
>> The instance will exist, but the author_id won't. Unless you are
>> manually allocating the primary key, the primary key is allocated by
>> the database at the
On Fri, Aug 20, 2010 at 11:51 PM, bfrederi wrote:
> I just wanted to know if anyone had an opinion or whether running a
> django-admin.py cleanup on 40 million session rows might slow down or
> lock up the database. I would like to do this cleanup ASAP, but I was
> concerned it might cause some is
On Sat, Aug 21, 2010 at 8:09 AM, Andy wrote:
>
> So is there any way to write the database router to route the above
> query?
Other than explicitly naming the database -- not at present.
Of course, given that you know your sharding scheme, you could use the
router directly.
Tweet.objects.using
On Mon, Aug 23, 2010 at 1:01 PM, nobosh wrote:
> I'm very interested in finding a up-to-date tutorial that shows steps
> for getting DJANGO running on Google App Engine, anyone know of any
> such tutorials?
>
> Surprisingly, Google's App Engine DJANGO docs are almost a year old.
> What gives?
Tha
On Mon, Aug 23, 2010 at 7:32 PM, Andy wrote:
> On Aug 20, 10:04 pm, Russell Keith-Magee
> wrote:
>
>>Of course, given that you know your sharding scheme, you could use the
>>router directly.
>>
>>Tweet.objects.using(router.db_for_read(Tweet, author=a)).filter(au
On Mon, Aug 23, 2010 at 7:53 PM, Steve Holden wrote:
> On 8/23/2010 7:48 AM, Russell Keith-Magee wrote:
>> On Mon, Aug 23, 2010 at 7:32 PM, Andy wrote:
> [...]
>>> Also how random is random - would I get a uniform distribution of
>>> records among the shards?
&g
501 - 600 of 2540 matches
Mail list logo