Re: Mysterious error messages

2013-09-22 Thread kooliah
I'm sorry but i started to send this message at 12.09 ...and at 14.00 google groups still does not show me neither on mail or web-interface. so i resend... Sorry again, next time i'll wait 24 hours, to see if a post is sent... On 09/22/2013 04:27 PM, Avraham Serour wrote: really? how many

Mysterious errors message

2013-09-22 Thread kooliah
ves me "page not found" Thank you Kooliah -- 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...@googleg

Mysterious error messages

2013-09-22 Thread kooliah
ves me "page not found" Thank you Kooliah -- 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...@googleg

Re: iterating over a queryset?

2013-09-22 Thread kooliah
Sorry...I wanted open a new discussion but i reply instead... -- 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

Mysterious error messages

2013-09-22 Thread kooliah
er it correctly gives me "page not found" Thank you Kooliah -- 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...@googleg

Re: Problem with DetailView

2012-07-07 Thread kooliah
On 07/07/2012 10:36 PM, Soviet wrote: Now that I have basic understanding of models, I encountered even more confusing subjects - views and urls. Now, the class-generic views are quite easy to grasp at basic level, but I fail to understand what's wrong with this code: urlpatterns =

SOLVED: Django 1.3 Admin Changelist column alignment

2012-06-18 Thread kooliah
very happy to know Thanks anyway to all On 06/17/2012 02:55 PM, kooliah wrote: I'm trying to change alignment of the number columns in the changelist, instead of default left alignment for all, i would like to have left for the text and right for the numbers. Is it possible to do it in th

Django 1.3 Admin Changelist column alignment

2012-06-17 Thread kooliah
Kooliah -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit

Re: no module named books found

2012-06-17 Thread kooliah
On 06/17/2012 06:23 AM, Sabbineni Navneet wrote: It still shows the same error . Do we have to create a database with that name before. How do we check if i have the python-mysqldb package . -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: image in browser

2012-06-14 Thread kooliah
Why don't you use staticfiles? https://docs.djangoproject.com/en/dev/howto/static-files/ On 06/14/2012 08:15 AM, Satvir Toor wrote: hello, i wish to display the image into the browser through a template . I used the following code to retrieve the image from Disk and send that data to Html

Re: User registeration

2012-06-08 Thread kooliah
On 06/08/2012 01:06 PM, AJAYI THEOPHILUS wrote: No the user has not been added the site has just been uploaded and new user has been added i am testing trying to see how the registeration page works one user registers successfully but subsequent user i try to register return the exception

Re: url_dir

2012-06-06 Thread kooliah
On 06/06/2012 12:32 PM, Satvir Toor wrote: I installed a application source code downloaded from Internet . Please explain me the following code that exists in urls.py file of the project. url(r'^pyrheology/plot/str/(?P\d+).png$',\ 'pyrheology.views.str_tmc_plot_img',\

Re:SOLVED Admin filter sidebar problem

2012-06-05 Thread kooliah
Solved using custom filterspecs as said in: http://djangosnippets.org/snippets/2261/ On 06/05/2012 07:27 PM, kooliah wrote: Here me again :-) I know that with django 1.4 there are custom filters, but i have to use 1.3 so I have a model with a foreign key to another class mdl1

Admin filter sidebar problem

2012-06-05 Thread kooliah
ike to see in the sidebar only red and green not all the colors. How can i do? Thanks to all Kooliah -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe f

Re: Sorl thumbnails VS Google

2012-06-05 Thread kooliah
That's what i'll do. Thanks for the answer On 06/04/2012 03:10 PM, fabrixxm wrote: On 4 Giu, 12:32, kooliah<kool...@djeve.sites.djangohosting.ch> wrote: So i can't understand if i want to have a better ranking, it is better to not use sorl for this kind of images and use that

Sorl thumbnails VS Google

2012-06-04 Thread kooliah
e height="{{ pic.picture.height }}" /> that gives width="187" height="280" /> instead of {% thumbnail pic.picture "280x280" as image %} {% endthumbnail %} Is this reasoning correct? Thanks to all Kooliah -- You received this message because you a

Re: SOLVED Django 1.3 Ordering by two or more fields workaround ??

2012-06-03 Thread kooliah
Solved working on admin instead of models, in the following way - admin.py-- class SpecialOrderingChangeList(ChangeList): ''' Django 1.3 ordering problem workaround from 1.4 it's enough using ordering var ''' def

Re: Django 1.3 Ordering by two or more fields workaround ??

2012-06-03 Thread kooliah
On 06/03/2012 02:41 PM, kooliah wrote: def _merged_field(self): return u'%s%i' % (self.collection_prdct, self.order) merged_field = property(_merged_field) and change ordering = ('collection_prdct','ordr',) to ordering = ('merged_field',) but it gives me "ord

Django 1.3 Ordering by two or more fields workaround ??

2012-06-03 Thread kooliah
; refers to "mergedfield", a field that doesn't exist. Do i miss something?...or What is the best way to have it order by two or more fields, expecially in the admin list_view? Thanks to all Kooliah -- You received this message because you are subscribed to the Google Groups &q

Re: django connect alternate database.

2012-05-26 Thread kooliah
https://docs.djangoproject.com/en/dev/topics/db/multi-db/ On 05/26/2012 06:18 AM, Min Hong Tan wrote: hi, I have a situation. currently i have one default django 's database. but, i wound like to connect to mssql/other database. - how can i get connected to ms-sql/other database? - is it we

Re: Django site updater

2012-05-26 Thread kooliah
On 05/22/2012 10:17 PM, kooliah wrote: I'm working on a new site and i have often the need to update the server to let other people see the progress. I tought to do a python script that compare the file structure/date/time of my local version with the server version and update only the changed

Django site updater

2012-05-22 Thread kooliah
I'm working on a new site and i have often the need to update the server to let other people see the progress. I tought to do a python script that compare the file structure/date/time of my local version with the server version and update only the changed/new files. Before starting, and

SATCHMO: Access custom product fields

2012-05-14 Thread kooliah
I have a custom product model -- from django.db import models from django.utils.translation import ugettext_lazy as _ from product.models import Product class

Re: Upload files without form

2012-05-08 Thread kooliah
') cntn = myfl.read() myfl.close() fdst = open(_dst,'wb') fdst.write(cntn) fdst.close() --- On 05/08/2012 01:19 AM, kooliah wrote: I need to upload

Upload files without form

2012-05-07 Thread kooliah
I need to upload a list of images to a project. I've found tons of pages about how to upload a file using a form...(that's clearly written on django official docs) :-) But i need to do it by a custom django-admin command because i have to link theese files(900) to respective records in the

SATCHMO - Brand vs Brand category - difference

2012-05-05 Thread kooliah
I'm not english mother language, so I can't understand the difference from brand and brand category, i googled very much but i can't find a clear example. Can anyone make me a simple real example (shoes, books, hardware, wathever) of a product with brand and brand category, by words not by

Satchmo product model ER graph?

2012-05-03 Thread kooliah
I need to import an already running database into a satchmo store. I started to make an ER graph, as a reference for the fields mapping, by myself, but if someone had already done it, i'd like to save time. Thanks to all Kooliah -- You received this message because you are subscribed

Re: Satchmo store as an app of a django project

2012-03-15 Thread kooliah
On 03/15/2012 10:41 PM, Joel Goldstick wrote: My settings won't work for you unless you put your files in the same directories as I do. I did, i change settings according to my strcture trying either relative than absolute path, but it does not solve the problem I think it's some prefix to

Re: Satchmo store as an app of a django project

2012-03-15 Thread kooliah
On 03/15/2012 09:22 PM, Joel Goldstick wrote: I had problems similar to you with my static files. First, I am assuming you are using v1.3 of Django? V1.0 did this differently Below is a snippet from my settings.py: Django is doing some things I don't really understand, but in your case I

Satchmo store as an app of a django project

2012-03-15 Thread kooliah
ng? I think some prefix to put somewhere Thank to all kooliah -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-us

Model rowset split

2011-08-29 Thread kooliah
With recset = mydb.all() len(recset) 2000 I would like to split into x rowset with the same attributes and methods but 2000/x records. I tried slicing but gave me errors Thanks to all -- You received this message because you are subscribed to the Google Groups "Django users" group. To

SOLVED Re: Render nested queryset in a template ?

2011-07-18 Thread kooliah
Thank you On 07/18/2011 11:57 PM, Daniel Roseman wrote: Op maandag 18 juli 2011 20:29:17 UTC+1 schreef kooliah het volgende: I need to render a nested queryset in a template, a classic father/son structure like publisher>dvds>renters, in python code i c

Render nested queryset in a template ?

2011-07-18 Thread kooliah
I need to render a nested queryset in a template, a classic father/son structure like publisher>dvds>renters, code --- class publisher(models.Model): publisherid = models.IntegerField(primary_key=True)