Re: shared application?

2008-11-24 Thread Haku
Alessio On 24 Nov, 18:53, Jeff Anderson <[EMAIL PROTECTED]> wrote: > Haku wrote: > > Hi all, and please excuse me if i ask something obvious for you. I > > can't get out of this problem! > > > I've got a site with 2 separate applications (call it A & B). Each

shared application?

2008-11-24 Thread Haku
Hi all, and please excuse me if i ask something obvious for you. I can't get out of this problem! I've got a site with 2 separate applications (call it A & B). Each one has it's own administrators and there must be absolutely no information passed from application A to application B and vice-vers

Internal server error upgarding from 0.97 to 1.0

2008-09-09 Thread Haku
Hello, i'm quite frustrated by this problem. Today i had the idea to update my svn from the old 0.97 to the 1.0 release, and now nothing is working anymore. I always get an anonymous "Internal Server Error" Maybe because my project included mptt, but the fact is that i cant figure out why it is

User is in models.py

2008-07-08 Thread Haku
er.is_superuser: dosomethinghere() super(Myapp, self).save() I've noticed that django saves an history of the changes occurred to a any row in myapp table, so i think it should be easy to find out current user. Thanks in advance! Haku! --~--~-~--~~~---~--~~ You r

Approvation by superuser

2008-07-07 Thread Haku
Hello! I'm a big django superfan, i just love it! I'm trying to find a solution to my problem, but no luck or (maybe) I'm too dumb to find it by myself. Anyway, what if i need to set up some kind of "superuser approval system"? For example, I want my publisher to write and article, which will be

How to add a custom filter?

2007-07-27 Thread Haku
I'm quite new to python and django. How can i add a custom filter? I've found one that i need ( http://www.djangosnippets.org/snippets/192/ ) bt i dunno how to use it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Table shared by 2 application

2007-07-09 Thread Haku
Ok, thank you KpoH! This is cool! Haku On 9 Lug, 17:15, KpoH <[EMAIL PROTECTED]> wrote: > mistype > > from your_project.apps.forum.models import Forum > > KpoH пишет: > > > > > example: > > > apps/manage/models.py > > > from django.db

Table shared by 2 application

2007-07-09 Thread Haku
i define the table in "Forum" or in "Manage"? And how to set the sharing? Sorry for my ugly english!! Thnx in advance. Haku --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django use

Re: documentazione django

2007-05-04 Thread Haku
Ciao. Che io sappia no, ma c'è un gruppo italiano :) http://groups.google.com/group/django-it?lnk=li Ciao! On 4 Mag, 17:45, mardif <[EMAIL PROTECTED]> wrote: > ciao a tutti, > volevo chiedere se qualcuno sa dirmi se esiste della documentazione > di django in italiano, e se si, dove trovarla.

Re: Apache + mod_python problem

2007-05-04 Thread Haku
Ok, i've solved the problem, wich was in the PythonPath (no "/mysite" was needed :D ) But now i'm into another truble: As i try to login into the admin, i alway get a message saying my browser does not accepr cookies!! But it isn't true! Any suggestion? On 4 Mag, 13:1

Apache + mod_python problem

2007-05-04 Thread Haku
e/ I always get this ugly page with this ugly error: EnvironmentError: Could not import settings 'mysite.settings' (Is it on sys.path? Does it have syntax errors?): No module named mysite.settings where am i wrong? I guess it's a path problem

Re: Noob question about javascript files

2007-05-04 Thread Haku
OK, this works great! Thank you very much!!! On 4 Mag, 04:34, theju <[EMAIL PROTECTED]> wrote: > Since Javascript is a static file you have to define your js directory > in your urls.py. I've used a lot of Javascript Libraries and all have > worked successfully. > > First in urls.py > > (r'^js/(

Noob question about javascript files

2007-05-03 Thread Haku
x27;t use my aptana to work with the project... So, i'm in a big truble. I'm using Eclipse/Pydev/Aptana. Can someone explain me how to setup my projects in order to work with this tools the right way? Thanks in advance and sorry for my english!! Haku --~--~-~--~~