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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/aea324f4-36f4-4dc8-abcb-40b02de29aeb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 (OS and Software) and Python is
> one of our favorite programming languages within our community. And we
> organize occasional sessions programing Python / Django. This would be
> a great privilege a PyCon in Africa. Opportunity to rub shoulders with
> the core Python programmers.
>
> Thank
> -Ad
>
> 2013/10/4 Daniele Procida :
>> 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 about it. She's 
>> involved with http://medicine.cardiff.ac.uk/mothers-africa/ (amongst other 
>> things) and is working on a Cardiff University project which itself is part 
>> of http://wales.gov.uk/topics/health/improvement/index/grants/?lang=en
>>
>> Following that meeting, I bashed out: 
>> https://github.com/evildmp/pycons-in-africa/ - please take a look, and even 
>> better, let me know what you think, or make your own contribution to the 
>> document. I'll continue working on it myself.
>>
>> Thanks,
>>
>> Daniele
>>
>> --
>> 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 django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/20131004161344.532752077%40smtpauth.cf.ac.uk.
>> For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CADbZ2qCbVh%3D7vwP%3DrnR9dZPSPJu4%2BiftSyArD%2B8hAek1H3Cw8Q%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.



-- 
>From this perspective it is natural that anarchism be marked by
spontaneity, differentiation, and experimentation that it be marked by
an expressed affinity with chaos, if chaos is understood to be what
lies outside or beyond the dominant game or system. Because of the
resistance to definition and categorisation, the anarchist principle
has been variously interpreted as, rather than an articulated
position, “a moral attitude, an emotional climate, or even a mood”.
This mood hangs in dramatic tension between utopian hope or dystopian
nihilism...
-
http://zuihitsu.org/godspeed-you-black-emperor-and-the-politics-of-chaos

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGBeqiPpk118qJNAkkN8f6jC-EvCdCRSFOLoAK%2BK6OVy8NDa8g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhCg7npJZKc%2BRQUGX%2B7kT2FxHKpC1WkgfHhK-u6fw2%2BNbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b0c71f91-b977-4d06-8f58-f3ff17ce893c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/92c35409-4a3d-4f11-8745-77423e903051%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/63441690-1078-437a-a237-1f91542362ec%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 used thumbnails but its still behaving same. What to 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 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhBbsCgOBQK-OhDRNQmNk1FVF2akwTCusLUDuXS3MQJxQA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/716b9b91-a548-4453-aefc-14f52d7f16e8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 permission to access /admin/Article/newsitem/10/ on this 
> server.
> Additionally, a 403 Forbidden error was encountered while trying to use an 
> ErrorDocument to handle the request.


The odd thing is that when I look at the list of items (in the above case 
news-items), the item that they attempted to save is there. Nothing about 
it seems to be missing, even uploaded images are where they're supposed to 
be.

This leads me to believe that it's actually a redirect that occurs after 
processing the POST request that is causing those 403 errors, but that 
would seem to be something internal to the admin contrib module?

Is this familiar to anyone or do you have any good suggestions of where to 
start digging?

The site is hosted remotely and I only have FTP access to it, so I can't 
verify a whole lot. If it's not something in my code or in the file 
structure, I'll have to pass the question on to the server admin who is not 
familiar with Django.
I'm fairly confident that the site is running Django 1.4.

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a4b47ccc-f8e2-40a8-856c-ea7bfe7cfd99%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 about it. 
> She's involved with http://medicine.cardiff.ac.uk/mothers-africa/(amongst 
> other things) and is working on a Cardiff University project which 
> itself is part of 
> http://wales.gov.uk/topics/health/improvement/index/grants/?lang=en 
>
> Following that meeting, I bashed out: 
> https://github.com/evildmp/pycons-in-africa/ - please take a look, and 
> even better, let me know what you think, or make your own contribution to 
> the document. I'll continue working on it myself. 
>
> Thanks, 
>
> Daniele 
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cfcf3490-69de-4a8d-a73d-e2ee3f7fb518%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 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 permission to access /admin/Article/newsitem/10/ on this
>> server.
>> Additionally, a 403 Forbidden error was encountered while trying to use
>> an ErrorDocument to handle the request.
>
>
> The odd thing is that when I look at the list of items (in the above case
> news-items), the item that they attempted to save is there. Nothing about
> it seems to be missing, even uploaded images are where they're supposed to
> be.
>
> This leads me to believe that it's actually a redirect that occurs after
> processing the POST request that is causing those 403 errors, but that
> would seem to be something internal to the admin contrib module?
>
> Is this familiar to anyone or do you have any good suggestions of where to
> start digging?
>
> The site is hosted remotely and I only have FTP access to it, so I can't
> verify a whole lot. If it's not something in my code or in the file
> structure, I'll have to pass the question on to the server admin who is not
> familiar with Django.
> I'm fairly confident that the site is running Django 1.4.
>
>  --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a4b47ccc-f8e2-40a8-856c-ea7bfe7cfd99%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tK_ED2m14AZ-2QEcSEaBo3nH7Liq%2B_7V4kb156U14uc0g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 problem.
What they try to save does get saved. It's only after saving the data that 
the 403 gets fired.

I'll see if I can get the server maintainer to look into that; I don't have 
a superuser account, so I can't verify what's happening there.

I think this problem started popping up after an upgrade of Django or after 
migration to a new server (the old one apparently got retired at some 
point). Frankly, it's difficult to determine when this started happening as 
the site owners are fairly lax about updating content - it's probably been 
half a year since they last attempted to edit anything...

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c344a1dd-521d-44fe-aa49-cbe867bb8dc9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 is not correctly set and some browsers don't show the img 
> placeholder if the src is wrong.


I am doing it like this:
http://tny.cz/26ed40cd

-- 
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 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhCGVeQBNFEdbvZPYAtAJcqGZ1vmaodOFXQjCr1OVnV4pA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 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 problem.
> What they try to save does get saved. It's only after saving the data
that the 403 gets fired.
>
> I'll see if I can get the server maintainer to look into that; I don't
have a superuser account, so I can't verify what's happening there.
>
> I think this problem started popping up after an upgrade of Django or
after migration to a new server (the old one apparently got retired at some
point). Frankly, it's difficult to determine when this started happening as
the site owners are fairly lax about updating content - it's probably been
half a year since they last attempted to edit anything...
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/c344a1dd-521d-44fe-aa49-cbe867bb8dc9%40googlegroups.com
.
>
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BTu-wyYj1_1aGNAkvwvEo0er3JOG-b3iaoXpHHZYDo6nNyVZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 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.
>
>
> I am doing it like this:
> http://tny.cz/26ed40cd
>
> --
> Harjot Kaur Mann
> Blog: http://harjotmann.wordpress.com/
> Daily Dairy: http://harjotmann.wordpress.com/daily-diary/



-- 
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 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhBvJui2psvK5AyBNy7o3CZhWHvzNxv%2Buc231XoCtQAybQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 port 80?
--
DR.

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bfc4aa2e-1fdf-4c98-ad8d-875d24bad918%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 knows of a step-by-step guide/tutorial that will enable one
to use this app in a project.

Thanks,
Derek

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF1Wu3O9SxEcAt%3D1MVPTUDNC%3D5%3Dzm_A6mqp0PMGuM%3DEYaM1fFw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 in some way, time and work permitting.

Hi Nigel, tahnks for the reply - 
.

Hope to see you there!

Daniele

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20131006200837.712089333%40smtp.ntlworld.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 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 stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/92c35409-4a3d-4f11-8745-77423e903051%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
 Systems/Software Engineer

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL-VaPdPzSqCC0UVUxLD8itKxubAB019hECX0Yt2cga%2B7V8bjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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 work. Help me please.

-- 
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 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhAe%2BZDQJCmaOnWridBT1r0Htsu-mHOcOe89PwOTPhjk9g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


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: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB0GQhAGZJRR-xCGeqyEZd-bDgVEp%3DwA5ae6Yt7hJrxihoXAqw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: logic problem

2013-10-06 Thread Leonardo Giordani
Are you sure that your DB contains only one entry with that name?
Try printing it in the view you use to render that template and check the
output of the development server.


Cheers,

Leo

Leonardo Giordani
Author of The Digital Cat 
My profile on About.me  - My GitHub
page- My Coderwall
profile 


2013/10/7 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: http://harjotmann.wordpress.com/
> Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAB0GQhAGZJRR-xCGeqyEZd-bDgVEp%3DwA5ae6Yt7hJrxihoXAqw%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhE%2BOkpa5PsBU1BuyNkTNf550p6KjQdf%2BQ%3DN4%3Dn2dM6uT58pw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.