small problem with django-filebrowser and tinymce integration

2011-09-24 Thread xpanta
Hi, I am trying to integrate django-tinymce with django-filebrowser for my django admin. Everything (almost) works fine. - manage.py test filebrowser, works ok - http://localhost:8000/admin/filebrowser/browse/ works, too however when I press the button on the windows popup of of tinymce

Re: cannot login to admin site using admin credentials

2011-02-08 Thread xpanta
-with-inheritance/ On 8 Φεβ, 08:54, xpanta <xpa...@gmail.com> wrote: > I have tried this already. I still can't login. > > :-( > > On 7 Φεβ, 15:48, Chris Lawlor <lawlor.ch...@gmail.com> wrote: > > > Try running 'python manage.py createsuperuser' on your production

Re: cannot login to admin site using admin credentials

2011-02-07 Thread xpanta
admin and make changes using this account. > > On Feb 7, 8:15 am, xpanta <xpa...@gmail.com> wrote: > > > Hi, > > > it seems that my problem is a bit complicated. I have tried much but > > to no avail. So, please help me! > > > Some time ago I migrated t

cannot login to admin site using admin credentials

2011-02-07 Thread xpanta
Hi, it seems that my problem is a bit complicated. I have tried much but to no avail. So, please help me! Some time ago I migrated to postgresql from mysql. I don't know if I did something wrong. Anyway, my webapp works "almost" flawlessly. Since then I never needed to login using admin rights

Re: cannot login to admin site with superuser

2011-01-04 Thread xpanta
python manage.py shell works normally. It gives me the interactive console On 4 Ιαν, 22:05, Shawn Milochik wrote: > What happens when you try 'manage.py shell'? > > Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: cannot login to admin site with superuser

2011-01-04 Thread xpanta
', ) On 4 Ιαν, 19:06, Shawn Milochik <sh...@milochik.com> wrote: > On Jan 4, 2011, at 4:15 AM, xpanta wrote: > > > is there any hope for me? > > Does your settings.py file do any imports? If there is a problem with an > import you'll have a major disaster and the ca

Re: cannot login to admin site with superuser

2011-01-04 Thread xpanta
is there any hope for me? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more

cannot login to admin site with superuser

2010-12-31 Thread xpanta
Hi, It seems that for some reason I can't login to admin site or my webpage using the admin user. I even created a new superuser with manage.py createsuperuser using plain numbers as my password ('123'). So it is not a password issue. However when I try to django-admin validate I get an import

Re: Django, Eclipse, Autocomplete

2010-11-16 Thread xpanta
Dalla <simoda...@gmail.com> wrote: > 2010/11/16 xpanta <xpa...@gmail.com> > > > > > Hi, > > > I am using eclipse Galileo (Build id: 20100218-1602) and PyDev to > > build a Django project. > > > Autocompletion works fine for python language b

Django, Eclipse, Autocomplete

2010-11-15 Thread xpanta
Hi, I am using eclipse Galileo (Build id: 20100218-1602) and PyDev to build a Django project. Autocompletion works fine for python language but not for django. For example in models.py I cannot get the field = models.CharField(max_length=100) to be autocompleted. I have added

newbie: how to do a simple join query?

2010-08-05 Thread xpanta
Hi. I have read the (excellent) documentation but I can't figure out how to do this. I know I might have to use annotations but I need some extra help. here it is, then. I have a table which represents user friendships called "Shortlist" (with fields from_user, to_user: both Foreign Keys to the

Re: HttpResponseRedirect and user message

2010-05-04 Thread xpanta
t;     #save info in session >     return HttpResponseRedirect(reverse('success_url')) > > def my_success_view(request): >     #access the session and get the data >     return render_to_response('success.html', locals()) > > On May 4, 9:35 am, xpanta <xpa...@gmail.com> wrote: > >

HttpResponseRedirect and user message

2010-05-04 Thread xpanta
Hi, I am new to django, and I have this simple task i need to accomplish. in views.py there is a function that processes an html form (with POST action). This function returns an HttpResponseRedirect object. This object gets as parameters the redirect action, like this: return

Django with Java

2010-05-02 Thread xpanta
Hi, There is a project in which I need to add this library (http:// www.lindo.com/index.php?option=com_content=article=2=10). In the package there are programming examples for Java (among others). I have created some programms myself based on this programming samples. I was wondering if possible

I think I will need some more help concerning forms in django

2010-04-26 Thread xpanta
Hi, I am trying hard to understand how the forms work. It seems for me easier to create an html form with some hidden fields during runtime. and then parse them one-by-one by request.POST.keys() when the view is called. I understand, however, that django forms have great importance in building

Re: form class

2010-04-25 Thread xpanta
Thank you very much. >From what I read, I think I have to get a better grip on django form handling. :-) On 24 Απρ, 20:39, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Apr 23, 9:03 pm, xpanta <xpa...@gmail.com> wrote: > > > > > > > Thank you f

Re: form class

2010-04-23 Thread xpanta
r time, Chris On 23 Απρ, 11:46, George Sakkis <george.sak...@gmail.com> wrote: > On Apr 23, 9:52 am, xpanta <xpa...@gmail.com> wrote: > > > Hi, > > > I wanted to ask if I am somehow "obliged" to use the form class > > provided by Django frame

form class

2010-04-23 Thread xpanta
Hi, I wanted to ask if I am somehow "obliged" to use the form class provided by Django framework. I can see its use on "static" forms (eg. registration forms or account forms) but most of the forms I write are "dynamic" (forms that are dynamically created depending on the user, whith input fields

Re: a simple question concerning dots in template values

2010-04-17 Thread xpanta
Thank you very much. I found in the internet a custom tag that does the job. :-) On 16 Απρ, 00:15, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Apr 15, 8:26 pm, xpanta <xpa...@gmail.com> wrote: > > > I have this template problem. > > > Although {{ my

a simple question concerning dots in template values

2010-04-15 Thread xpanta
I have this template problem. Although {{ myDictionary.1 }} works, if I write {{ myDictionary.user.id }} it does not. It prints nothing, actually. (user comes from a {% for user in Users %} loop. user.id is 1 at the first iteration (I have checked it). Why? What am I doing wroing? Thanks,