Re: photologue installation
Thanks again. I'll file an issue within the pressroom tracker. On Aug 29, 5:11 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Aug 29, 2008 at 11:24 AM, Briohny <[EMAIL PROTECTED]>wrote: > > > > > Hi again Karen, > > > Just wondering about Pressroom too. I couldn't see a new version > > however the version that is currently in trunk doesn't seem to be > > working in Django-1.0-alpha-2 version. > > > File "C:\Documents and Settings\TR\Sample Projects\newsite\ ", line > > 7, in > > from django_apps.photologue.models import Gallery, Photo > > ImportError: No module named django_apps.photologue.models > > That particular error appears to be the result of Pressroom assuming you > have Photologue in a certain place (under someplace named 'django_apps' > that's findable in your python path). I'd guess you don't have Photologue > where Pressroom is expecting it to be. > > Even if you fix that, though, taking a look at the current Pressroom code on > the google code project page it's clear it hasn't been updated to work with > all the recent Django changes. You can see here: > > http://code.google.com/p/django-pressroom/source/browse/#svn/trunk/pr... > > models.py hasn't been updated since Oct. 31 of last year, so it still has > all the old admin definitions. So you'd need get the Pressroom developer(s) > to update it to work with current trunk (the right way to request that would > probably be to file an issue in that project's issue tracker), or update it > youself (in which case you might still want to file an issue and post your > chages as a patch to their issue tracker, to help others looking for the > same thing). > > Karen --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: photologue installation
On Fri, Aug 29, 2008 at 11:24 AM, Briohny <[EMAIL PROTECTED]>wrote: > > Hi again Karen, > > Just wondering about Pressroom too. I couldn't see a new version > however the version that is currently in trunk doesn't seem to be > working in Django-1.0-alpha-2 version. > > File "C:\Documents and Settings\TR\Sample Projects\newsite\ ", line > 7, in >from django_apps.photologue.models import Gallery, Photo > ImportError: No module named django_apps.photologue.models > > That particular error appears to be the result of Pressroom assuming you have Photologue in a certain place (under someplace named 'django_apps' that's findable in your python path). I'd guess you don't have Photologue where Pressroom is expecting it to be. Even if you fix that, though, taking a look at the current Pressroom code on the google code project page it's clear it hasn't been updated to work with all the recent Django changes. You can see here: http://code.google.com/p/django-pressroom/source/browse/#svn/trunk/pressroom models.py hasn't been updated since Oct. 31 of last year, so it still has all the old admin definitions. So you'd need get the Pressroom developer(s) to update it to work with current trunk (the right way to request that would probably be to file an issue in that project's issue tracker), or update it youself (in which case you might still want to file an issue and post your chages as a patch to their issue tracker, to help others looking for the same thing). Karen --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: photologue installation
Hi again Karen, Just wondering about Pressroom too. I couldn't see a new version however the version that is currently in trunk doesn't seem to be working in Django-1.0-alpha-2 version. File "C:\Documents and Settings\TR\Sample Projects\newsite\ ", line 7, in from django_apps.photologue.models import Gallery, Photo ImportError: No module named django_apps.photologue.models Any thoughts? Thanks again. On Aug 26, 5:01 pm, Briohny <[EMAIL PROTECTED]> wrote: > Thanks Karen... that did the trick! > > On Aug 25, 6:25 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > > > > On Mon, Aug 25, 2008 at 12:39 PM, Briohny <[EMAIL PROTECTED]> wrote: > > > > I'm using the Django-1.0-alpha_2 version and I'm trying to install the > > > photologue application. When i run my database sync it's coming up > > > with the following error: > > > > File "C:\Documents and Settings\TR\Sample > > > > Projects\newsite\photologue\models.p > > > > y", line 95, in Gallery > > > > help_text='A "Slug" is a unique URL-friendly title for an object.') > > > > File > > > > "c:\python25\Lib\site-packages\django\db\models\fields\__init__.py", > > > > line > > > > 920, in __init__ > > > > super(SlugField, self).__init__(*args, **kwargs) > > > > TypeError: __init__() got an unexpected keyword argument > > > 'prepopulate_from' > > > > I think this may be due to the alpha version. Is there an easy fix or > > > should i just wait for the more stable version to be released? > > > You're apparently using a version of photologue that was written to run on a > > version of Django from before newforms-admin was merged to trunk. Looking > > at the google code page for photologue and browsing its current svn code it > > is clear the current photologe code has been updated to work with current > > Django, so you need to get a more recent photologue. If they don't have a > > prepackaged version that works with current Django you may have to pull > > photologue directly from its svn repository. > > > Karen- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: photologue installation
Thanks Karen... that did the trick! On Aug 25, 6:25 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Aug 25, 2008 at 12:39 PM, Briohny <[EMAIL PROTECTED]> wrote: > > > I'm using the Django-1.0-alpha_2 version and I'm trying to install the > > photologue application. When i run my database sync it's coming up > > with the following error: > > > File "C:\Documents and Settings\TR\Sample > > > Projects\newsite\photologue\models.p > > > y", line 95, in Gallery > > > help_text='A "Slug" is a unique URL-friendly title for an object.') > > > File > > > "c:\python25\Lib\site-packages\django\db\models\fields\__init__.py", > > > line > > > 920, in __init__ > > > super(SlugField, self).__init__(*args, **kwargs) > > > TypeError: __init__() got an unexpected keyword argument > > 'prepopulate_from' > > > I think this may be due to the alpha version. Is there an easy fix or > > should i just wait for the more stable version to be released? > > You're apparently using a version of photologue that was written to run on a > version of Django from before newforms-admin was merged to trunk. Looking > at the google code page for photologue and browsing its current svn code it > is clear the current photologe code has been updated to work with current > Django, so you need to get a more recent photologue. If they don't have a > prepackaged version that works with current Django you may have to pull > photologue directly from its svn repository. > > Karen- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: photologue installation
On Mon, Aug 25, 2008 at 12:39 PM, Briohny <[EMAIL PROTECTED]> wrote: > > I'm using the Django-1.0-alpha_2 version and I'm trying to install the > photologue application. When i run my database sync it's coming up > with the following error: > > > File "C:\Documents and Settings\TR\Sample > > Projects\newsite\photologue\models.p > > y", line 95, in Gallery > >help_text='A "Slug" is a unique URL-friendly title for an object.') > > File > > "c:\python25\Lib\site-packages\django\db\models\fields\__init__.py", > > line > > 920, in __init__ > >super(SlugField, self).__init__(*args, **kwargs) > > TypeError: __init__() got an unexpected keyword argument > 'prepopulate_from' > > > > I think this may be due to the alpha version. Is there an easy fix or > should i just wait for the more stable version to be released? > > You're apparently using a version of photologue that was written to run on a version of Django from before newforms-admin was merged to trunk. Looking at the google code page for photologue and browsing its current svn code it is clear the current photologe code has been updated to work with current Django, so you need to get a more recent photologue. If they don't have a prepackaged version that works with current Django you may have to pull photologue directly from its svn repository. Karen --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---