logic problem

2013-10-06 Thread Harjot Mann
In my app I am selecting the two tests but both appear with both materials like this http://screencloud.net/v/EKF7 I want that in the first row depth 0 to 0 should appear but in the second row only depth 10 to 20 should come. The code is here: http://tny.cz/019515d5 -- Harjot Kaur Mann Blog:

Re: image display in admin

2013-10-06 Thread Harjot Mann
On Sun, Oct 6, 2013 at 5:57 PM, Harjot Mann wrote: > I am uploading an image in my app and I want to display that image in > admin site. What should I do? http://www.acedevs.com/blog/2011/07/11/django-admin-list-view-thumbnails/ I followed this link but it does not

Re: Tinymce 4.x with grappelli filebrowser?

2013-10-06 Thread Robert Steckroth
Ohh nice, thank you, I found just what I was looking for there. On Sun, Oct 6, 2013 at 10:52 AM, Gabriel - Iulian Dumbrava < gabriel.dumbr...@gmail.com> wrote: > Hi, > > There are a few forks of django-filebrowser-no-grappelli that have solved > this issue. > > Probably someone has solved it in

Re: PyCons in Africa

2013-10-06 Thread Daniele Procida
On Fri, Oct 4, 2013, Nigel Legg wrote: >I have lived in both Zambia and Kenya, and have family in Zambia. Bongo >Hive in Lusaka may be a good place to start (they are on twitter). I >haven't been there for more than five years, but would be interested in >getting involved

Tutorial for django-select2?

2013-10-06 Thread Derek
Its more than likely due to my extremely poor Javascript skills, but I just cannot get to grips with the documentation that is provided with django-select2. For me, the docs read a bit like this sign - http://i.imgur.com/0Njan.jpg. I have tried Googling without success - but perhaps someone

403 Forbidden messages when saving items in django-admin

2013-10-06 Thread Daniel Roseman
Notice that this is the default Apache error message, not one for Django. That strongly suggests that people are being redirected away from your Django server to another, different one. Perhaps Django is running on a non-standard port, and after saving they are being redirected to the default

Re: image display in admin

2013-10-06 Thread Harjot Mann
Should I need to give the media_root and media_url path? On Sun, Oct 6, 2013 at 10:19 PM, Harjot Mann wrote: > On Sun, Oct 6, 2013 at 9:02 PM, Gabriel - Iulian Dumbrava > wrote: >> Add a property that should retain a dummy text and try to

Re: 403 Forbidden messages when saving items in django-admin

2013-10-06 Thread Nick Apostolakis
Ask if Apache mod sec is installed on the server If it is it can account for a lot of weirdiness Στις 06 Οκτ 2013 7:48 μ.μ., ο χρήστης "Alban Hertroys" έγραψε: > > On Sunday, October 6, 2013 6:09:22 PM UTC+2, אברהם סרור wrote: >> >> > You don't have permission >> the error

Re: image display in admin

2013-10-06 Thread Harjot Mann
On Sun, Oct 6, 2013 at 9:02 PM, Gabriel - Iulian Dumbrava wrote: > Add a property that should retain a dummy text and try to display that. If > that works change the dummy text with img, then look at the source page > generated by the admin. > > Maybe the image url

Re: 403 Forbidden messages when saving items in django-admin

2013-10-06 Thread Alban Hertroys
On Sunday, October 6, 2013 6:09:22 PM UTC+2, אברהם סרור wrote: > > > You don't have permission > the error seems to be fairly descriptive. > you need to log in the django admin as superuser and grant permission to > the users > Are you sure? That doesn't seem to match my description of the

Re: 403 Forbidden messages when saving items in django-admin

2013-10-06 Thread Avraham Serour
> You don't have permission the error seems to be fairly descriptive. you need to log in the django admin as superuser and grant permission to the users On Sun, Oct 6, 2013 at 1:48 PM, Alban Hertroys wrote: > Howdy, > > I run a Django website for some people that's hosted

Re: PyCons in Africa

2013-10-06 Thread Amirouche Boubekki
Hi, Great initiative! On Friday, October 4, 2013 6:13:44 PM UTC+2, Daniele Procida wrote: > > First of all, apologies if you have to read this more than once because of > the cross-posting. > > I've had an idea brewing recently. > > I went to meet Professor Judith Hall this afternoon to talk

403 Forbidden messages when saving items in django-admin

2013-10-06 Thread Alban Hertroys
Howdy, I run a Django website for some people that's hosted on a remote site. The issue I'm running into is that in the django admin section (the contrib module) my users get a 403 Forbidden message every time they save an item by pressing the "Save" submit-button: Forbidden > You don't have

Re: image display in admin

2013-10-06 Thread Gabriel - Iulian Dumbrava
Add a property that should retain a dummy text and try to display that. If that works change the dummy text with img, then look at the source page generated by the admin. Maybe the image url is not correctly set and some browsers don't show the img placeholder if the src is wrong. -- You

Re: image display in admin

2013-10-06 Thread Harjot Mann
On Sun, Oct 6, 2013 at 8:35 PM, Gabriel - Iulian Dumbrava wrote: > Add a property to your model that returns the img tag you want, set it to > allow html content, then add the property to list_display in your admin.py. Done but it is not displaying anything.:( I

image display in admin

2013-10-06 Thread Gabriel - Iulian Dumbrava
Add a property to your model that returns the img tag you want, set it to allow html content, then add the property to list_display in your admin.py. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Tinymce 4.x with grappelli filebrowser?

2013-10-06 Thread Gabriel - Iulian Dumbrava
Hi, There are a few forks of django-filebrowser-no-grappelli that have solved this issue. Probably someone has solved it in a fork of the grappelli version. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

django-registration: extending the user model

2013-10-06 Thread +Emmanuel
Hi, I am looking for a comprehensive tutorial on how I can extend the default user model using django-registration, specifically for Django 1.5 and django-registration 1.0 Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

image display in admin

2013-10-06 Thread Harjot Mann
I am uploading an image in my app and I want to display that image in admin site. What should I do? -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ Daily Dairy: http://harjotmann.wordpress.com/daily-diary/ -- You received this message because you are subscribed to the Google Groups

Re: PyCons in Africa

2013-10-06 Thread Lachlan Musicman
I'm pretty sure there are some django installs at Ushahidi as well? (I could be wrong) http://www.ushahidi.com L. On 5 October 2013 05:09, Alioune Dia wrote: > We are a community (http://blog.dakarlug.org/) based in Senegal since > 2008 and we operate in Free Software

How to have Django 1.5 with Python 3.3 on Windows server?

2013-10-06 Thread Robert Jonathan Šimon
I want to deploy my project on windows server, but i dont know how,. Can anyone please help me? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to