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,
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
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
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,
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
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
It works! really simple, thanks! :)
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
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
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.
o all,
Flavio Curella.
hello gregory,
ticket is #714.
bye,
Flavio
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
(self):
"""
Returns the categories for every item in the feed.
"""
item_categories = ("Action", "Drama", "Sci-Fi",) # Hard-coded
categories.
Cherrs,
Flavio Curella.
14 matches
Mail list logo