really weird: App in INSTALLED_APPS, but django doesn't think so

2009-06-17 Thread Flavio Curella
I have built much time ago an app in Django (it was still pre-nfa era, django 0.96) now i'm updating it for django 1.1, but when I try to _reset_ the db schema, django can't find it in the INSTALLED_APPS setting, but it's actually there. Any idea about what could it be? Thanks,

Re: really weird: App in INSTALLED_APPS, but django doesn't think so

2009-06-17 Thread Flavio Curella
Nevermind. Messy code :P On Jun 17, 12:22 pm, Flavio Curella wrote: > I have built much time ago an app in Django (it was still pre-nfa era, > django 0.96) > > now i'm updating it for django 1.1, but when I try to _reset_ the db > schema, django can't find it in the IN

Django hosting service running Os C

2008-02-17 Thread Flavio Curella
Hi, I developed a small application using django and CoreGraphics library as a school project. I'm wondering to put it online and I googled around looking for a web hosting solution (shared or VPS) running on Os X and that supports Django. Does anybody know one? Thanks, Flavio Cu

i18n ono Fedora 5

2008-06-03 Thread Flavio Curella
Hi, for some weird reason, I can't get my translations on Fedora 5. It works great on development sever (running on MacOs 10.5), but on the production machines, it's like I didn't compile the language files (which I did!). Any ideas? Thanks,

Re: Python Noob Having Trouble with Django Tutorial 1

2007-05-13 Thread Flavio Curella
On 13 Mag, 20:10, kilgore <[EMAIL PROTECTED]> wrote: > I tried this and got: > > 13/05/2007> python manage.py shell > Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit > (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > (InteractiveCon

Re: how do you name the 'main' app?

2006-09-20 Thread Flavio Curella
I call the project as the website (the domain or my client name), and the app just like what it is. startproject mydomain.com startapp blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: Change URL on Django Admin Site

2005-10-22 Thread Flavio Curella
It works! really simple, thanks! :)

getting id of logged user in admin site

2005-10-27 Thread Flavio Curella
ave the field 'author' with the id of current user? I think to use 'default' attribute, something like this: author = meta.ForeignKey(User, default=???) but how can I get current uesre's id? (user.id doesn't work) Thanks, Flavio Curella

Re: getting id of logged user in admin site

2005-11-01 Thread Flavio Curella
Grigory Fateyev wrote: > Hello Flavio Curella! > On Thu, 27 Oct 2005 20:20:23 - you wrote: > > > > > hi all, I've this model: > > > > from django.core import meta > > from django.models.auth import User > > > > class Article(m

Re: getting id of logged user in admin site

2005-11-01 Thread Flavio Curella
your snippet works, but it returns the id of the author of an articles already saved in the database. What I want to do is to save the article with the id of user that is saving the article, without the need to select an user/author from a menu.

Re: getting id of logged user in admin site

2005-11-01 Thread Flavio Curella
o all, Flavio Curella.

Re: getting id of logged user in admin site

2005-11-02 Thread Flavio Curella
hello gregory, ticket is #714. bye, Flavio

getting currently logged-in user

2005-11-04 Thread Flavio Curella
according to http://www.djangoproject.com/documentation/request_response/ I can access to currently logged-in user: user A django.models.auth.users.User object representing the currently logged-in user. But dopcumentation tell no more than that about this. How can I access to id of current l

item_categories hooks in high-level syndication framework

2005-12-14 Thread Flavio Curella
(self): """ Returns the categories for every item in the feed. """ item_categories = ("Action", "Drama", "Sci-Fi",) # Hard-coded categories. Cherrs, Flavio Curella.