Re: Django 1.7: How to migrate data between two external apps

2014-12-17 Thread John-Scott
ded. Would you mind opening a ticket on > https://code.djangoproject.com/ where you state the problem (e.g. link to > this discussion). Thanks. > > /Markus > > On Wednesday, December 17, 2014 6:01:05 AM UTC+1, John-Scott wrote: >> >> My 'solution' was very sm

Re: Django 1.7: How to migrate data between two external apps

2014-12-16 Thread John-Scott
On Tuesday, December 16, 2014 9:05:35 AM UTC-5, Markus Holtermann wrote: > > Hey John-Scott, > > I'm afraid but I don't see an obvious solution. There are 2 ways you could > work on the issue, I don't like either: > > 1. remove all references to the "fo

Django 1.7: How to migrate data between two external apps

2014-12-13 Thread John-Scott
] The migration itself works as expected. However if I now remove foo_tag from INSTALLED_APPS, Django will now give an error: KeyError: "Migration my_app.0002_auto_20141212_1951 dependencies reference nonexistent parent node ('foo_tag', '0001_initial')" What'

Form.clean() and custom error handling

2008-07-22 Thread John-Scott
the same Form.clean() method and expect both of these errors to be returned can I? Thanks, John-Scott [1] http://www.djangoproject.com/documentation/forms/#custom-form-and-field-validation --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: What happened to django-updates?

2008-04-14 Thread John-Scott
On Apr 14, 11:45 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 10:43 AM, John-Scott > > <[EMAIL PROTECTED]> wrote: > > There hasn't been any updates on the django-updates mailing list since > > March 18. At the time

What happened to django-updates?

2008-04-14 Thread John-Scott
There hasn't been any updates on the django-updates mailing list since March 18. At the time, someone on IRC said they thought it was due to the traffic from the sprint but that was a month ago. I am tracking trunk with my projects and it was really convenient to get email updates on trunk commits

Amazon S3 and S3FileField

2007-08-03 Thread John-Scott
upload_to="s3", **kwargs) What does the value assigned to upload_to mean in the context of S3 storage? Any tips appreciated. Cheers, John-Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django us

Re: Slug (w/o using SlugField) Problems

2007-07-18 Thread John-Scott
painless database lookups. My question is did you write your own 'slugify' method or is this included in core somewhere and I just need the appropriate import statement in my model files? Cheers, John-Scott On Jul 6, 4:27 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > >> You mig

Re: Slug (w/o using SlugField) Problems

2007-07-18 Thread John-Scott
he slugify method from django.template.defaultfilters? This is what I did, rather than write my own method. Cheers, John-Scott (note: I tried writing this response a few hours ago, but it doesn't appear to have posted correctly. If it magically appears, I'll remove the duplicate post) -

Re: flatpages issues

2007-07-16 Thread John-Scott Atlakson
ismatch with SITE_ID). Once I changed the SITE_ID value everything started working. I deleted the item from urlpatterns, and you're right, it's unnecessary. Thanks for attempting to get me sorted out. Cheers, John-Scott. --~--~-~--~~~---~--~~ You receive

Re: flatpages issues

2007-07-16 Thread John-Scott
Can someone in the know confirm or deny that adding the catch-all line to urls.py is in fact required to invoke flatpages? I checked out the source for djangoproject.com and it has this as the last item in urlpatterns: (r'', include('django.contrib.flatpages.urls')), If this is required, should

Re: flatpages issues

2007-07-13 Thread John-Scott Atlakson
<[EMAIL PROTECTED]> wrote: > > > Hi John-Scott -- > > Did you add ' > django.contrib.flatpages.middleware.FlatpageFallbackMiddleware' > to your ``MIDDLEWARE_CLASSES`` setting? > > Jacob > > > > --~--~-~--~~~---~--~---

flatpages issues

2007-07-13 Thread John-Scott
hi gang, I'm trying out the flatpages app but not having a great deal of success. I've followed the instructions at http://www.djangoproject.com/documentation/flatpages/. I've added a directory in my templates folder (templates/flatpages/ default.html) according to the example in the documentati

Re: ubuntu 6.06 deployment issues

2007-07-05 Thread John-Scott
On Jul 6, 12:29 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Hmmm, I'm not sure the documentation is actually accurate. When you > use manage.py to run up development server for Django, it will > automatically add the parent directory of where the manage.py file is > located into sys.path for

Re: ubuntu 6.06 deployment issues

2007-07-05 Thread John-Scott
nt Python to be able to > find. According to http://www.djangoproject.com/documentation/install/, these are the two commands for setting up the development version of django: svn co http://code.djangoproject.com/svn/django/trunk/ django_src ln -s `pwd`/django_src/django SITE-PACKAGES-DIR/django

Re: ubuntu 6.06 deployment issues

2007-07-05 Thread John-Scott
Thanks for the prompt replies. @Nimrod - You were right about the permissions on /home/john-scott/ workspace, chmod 755 fixed that. But I still have to have the django development code in /opt to get it to load. Any ideas why symlinking to /home/john-scott/workspace/django_src/django doesn&#

ubuntu 6.06 deployment issues

2007-07-05 Thread John-Scott
Hello all, I'm having some issues getting a basic django project in production mode. I'm using Ubuntu 6.06 LTS with the default versions of apache, python, mod_python, etc. - I've checked out the development version of Django in my home directory, i.e. /home/john-scott/workspace

Re: Can I prepopulate a SlugField with a ForeignKey?

2007-05-20 Thread John-Scott
urn '%s, %s' % (self.last_name, self.first_name) else: return self.last_name Sorry, I haven't yet used SlugField or the 'prepopulate_from' shortcut, so I don't have any advice on your troubles there. Good luck, John-Scott Atlakson On May 21, 12:0

Re: Python 2.5 + MySQLdb

2007-01-11 Thread John-Scott
o build it yourself or 2) install python2.4. It might just be easiest to install python2.4 (unless 2.5 really has something you can't live without), you can have both versions installed side by side (c:\python2.4 & c:\python2.5). John-Scott On Jan 11, 3:41 am, Carl Holm <[EMAIL PROTE