Adding Highlights for a product

2012-01-28 Thread Swaroop Shankar V
highlights of the products - 12.2 Megapixels - CMOS - with 2.7 inch LCD So i want to add something like this. Please let me know how i can configure a product as said above. Thanks and Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google

Trouble setting up website with mysql as backend

2012-03-17 Thread Swaroop Shankar V
to non strict. The error from the traceback looks to be from the file "/usr/local/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py" which is django contrib application. What should i do to fix this issue. Am using django version 1.3.1. Please help. Thanks and Reg

Re: Trouble setting up website with mysql as backend

2012-03-17 Thread Swaroop Shankar V
Swaroop Shankar V Sithembewena, Its not because i have not installed mysql module for python. syncdb worked fine for many of the apps in my project and created the tables for those apps. This issue arise when creating the table for few apps. Thanks and Regards, Swaroop Shankar On Sun, Mar 18

Re: problem with admin settings

2012-03-17 Thread Swaroop Shankar V
Sophia, Please check if you have enabled the app 'django.contrib.sessions' in your INSTALLED_APPS, if not do that and then do a syncdb, this issue should be resolved. Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 2:41 AM, Sophia wrote: > Hi all, > > I'

Re: problem with admin settings

2012-03-17 Thread Swaroop Shankar V
Did you run the syncdb after enabling it? While doing a syncdb did you encounter any errors? From the error it looks like django_session table is not created. Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 3:07 AM, Sophia wrote: > Thank you for helping, I had enabled it. Bu

Re: Trouble setting up website with mysql as backend

2012-03-17 Thread Swaroop Shankar V
As Alasdair pointed out, i had few custom permission which had pretty big name. I reduce it and it got fixed. Thank you both for helping me out. Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 6:27 AM, Sithembewena Lloyd Dube wrote: > ^^ What Alasdair said. If you still can

Re: problem with admin settings

2012-03-18 Thread Swaroop Shankar V
cdb after enabling it? While doing a syncdb did you >> encounter any errors? From the error it looks like django_session table >> is not created. >> >> Thanks and Regards, >> Swaroop Shankar V >> >> >> >> On Sun, Mar 18, 2012 at 3:07 AM, Sophia

Re: Trouble setting up website with mysql as backend

2012-03-19 Thread Swaroop Shankar V
was getting the above said error and just for the sake of testing i changed the mode to non strict. Am not planning the same for my production server. Once again thanks a lot for your input. Cheers. Thanks and Regards, Swaroop Shankar V On Mon, Mar 19, 2012 at 2:22 AM, CLIFFORD ILKAY wrote

Re: problem with admin settings

2012-03-20 Thread Swaroop Shankar V
environment try to do that from the terminal and check if that table is being created or if there are not much important code in your project just zip it and send over. Will try at my end and will update you. Thanks and Regards, Swaroop Shankar V On Mon, Mar 19, 2012 at 11:03 PM, Sophia wrote: >

Doubt regarding endless pagination

2012-04-01 Thread Swaroop Shankar V
s please tell me know the method to implement the same. Thank You Regards, Swaroop Shankar V -- 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

Re: Doubt regarding endless pagination

2012-04-02 Thread Swaroop Shankar V
Thank You, i changed show_pages.html instead of page_link.html. It worked fine. Anyway thanks for pointing out where to change. Regards, Swaroop Shankar V On Mon, Apr 2, 2012 at 5:10 PM, Blackpearl wrote: > You can edit page_link.html for displaying like: > <> > > &

Improving Site Performance

2012-04-05 Thread Swaroop Shankar V
essible in the custom template tag? Thanks and Regards, Swaroop Shankar V -- 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 em

Re: Improving Site Performance

2012-04-09 Thread Swaroop Shankar V
Thanks Phang, I have not yet checked into the query caching in django. Will check and will see if it would improve the performance. Thanks a lot for your reply :) Thanks and Regards, Swaroop Shankar V On Sat, Apr 7, 2012 at 4:04 PM, Phang Mulianto wrote: > Well.. i think the lazy query is

Admin area hyperlinks to sub categories

2012-04-09 Thread Swaroop Shankar V
taken to a page where the books assigned under that category is displayed. How can i accomplish the same. Thanks and Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: Admin area hyperlinks to sub categories

2012-04-11 Thread Swaroop Shankar V
Hi, Could anyone provide me a solution please? Thanks Regards, Swaroop Shankar V On Mon, Apr 9, 2012 at 2:53 PM, Swaroop Shankar V wrote: > Hi all, > I have 2 models one is Category and another one is Book. Books will > be assigned to a category. So on the admin area i want to displ

Passing additional variables to flatpage template

2012-04-14 Thread Swaroop Shankar V
Hi All, Am using flatpage app in my application. I want to send few additional variables that can be accessible from the flatpage templates. So how can i accomplish the same? Thanks and Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google Groups

Re: Admin area hyperlinks to sub categories

2012-04-14 Thread Swaroop Shankar V
can i link a category to book listing page. I know that there is a filter method that i can use in books listing page but i want to implement above said approach. How can it be done? I hope i have made myself clear. Thanks and Regards, Swaroop Shankar V On Wed, Apr 11, 2012 at 7:39 PM, Sandro

URL regex not matching

2012-04-22 Thread Swaroop Shankar V
onstruct the url. Am pretty weak in regex and it will take me sometime to build a proper regex for the above url. Thanks Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: URL regex not matching

2012-04-22 Thread Swaroop Shankar V
th . (dot) is working fine now. Swaroop Shankar V On Sun, Apr 22, 2012 at 2:02 PM, yati sagade wrote: > I'm not sure, but I think this should work - try it out and let us know. > > r'^user/([\w\-+.@]+)/$' > > I'm not too good with regexes, either. No one is. Al

Re: URL regex not matching

2012-04-24 Thread Swaroop Shankar V
I changed to your regex and it works fine. Thanks a lot :) Thanks and Regards, Swaroop Shankar V On Sun, Apr 22, 2012 at 2:37 PM, yati sagade wrote: > I think that one also matches upto one whitespace character(space, tab or > newline) within the username(The \s). > > > On Su

Storing Sorl-thumbnail created images in separate folder

2012-04-28 Thread Swaroop Shankar V
location for storage of generated file rather than the source folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to be used? I am not able to figure it out from the documentation. If yes then should i provide the absolute or relative path? Thanks and Regards, Swaroop Shankar V

Re: Storing Sorl-thumbnail created images in separate folder

2012-04-29 Thread Swaroop Shankar V
Thanks Kelly, could you tell me what all settings you had provided for it to cache into a separate directory? Thanks and Regards, Swaroop Shankar V On Sun, Apr 29, 2012 at 8:09 PM, Kelly Nicholes wrote: > It always just caches the files for me in a completely different directory. >

Re: Storing Sorl-thumbnail created images in separate folder

2012-04-30 Thread Swaroop Shankar V
d but not sure. When i tried to override the default i could see no change. So anyone having experience in setting the same please let me know. Thanks and Regards, Swaroop Shankar V On Mon, Apr 30, 2012 at 7:27 PM, Tiago Almeida wrote: > Have you tried changing the THUMBNAIL_STORAGE set

Re: Storing Sorl-thumbnail created images in separate folder

2012-04-30 Thread Swaroop Shankar V
It looks like i was using an old version which came with satchmo. Am currently testing my project with new version. Thanks and Regards, Swaroop Shankar V On Tue, May 1, 2012 at 12:59 AM, Swaroop Shankar V wrote: > It looks like the latest version of solr-thumnails or the version that i >

Re: Storing Sorl-thumbnail created images in separate folder

2012-04-30 Thread Swaroop Shankar V
Okay in the latest version every images generated is getting saved to cache. My issue is resolved. Thanks all for your kind help :) Thanks and Regards, Swaroop Shankar V On Tue, May 1, 2012 at 1:24 AM, Swaroop Shankar V wrote: > It looks like i was using an old version which came with satc

Accessing current URI from template tag

2012-06-06 Thread Swaroop Shankar V
Shankar V -- 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,

Re: Accessing current URI from template tag

2012-06-08 Thread Swaroop Shankar V
Thanks Bruno, will check that. Thanks and Regards, Swaroop Shankar V On Wed, Jun 6, 2012 at 2:59 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > On Jun 6, 10:27 am, Swaroop Shankar V wrote: > > Hello All, > > > > Well my question is on how

Ecommerce Solution

2012-08-26 Thread Swaroop Shankar V
documentation and easy to integrate? Thanks and Regards, Swaroop Shankar V -- 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, sen

Re: Ecommerce Solution

2012-08-27 Thread Swaroop Shankar V
Hi Alec, Cartridge is the one you mean I guess, but after going through the document it seems i will require to install Mezzanine too. I was looking for an app which i can use with my existing project and also with some good documentation. Thanks and Regards, Swaroop Shankar V On Mon, Aug 27

Re: Ecommerce Solution

2012-08-30 Thread Swaroop Shankar V
from my existing satchmo installation. Swaroop Shankar V On Mon, Aug 27, 2012 at 4:39 PM, Alec Taylor wrote: > Well there's Django-Shop > > On Mon, Aug 27, 2012 at 8:38 PM, Swaroop Shankar V > wrote: > > Hi Alec, > > Cartridge is the one you mean I guess, but after

Re: Ecommerce Solution

2012-08-30 Thread Swaroop Shankar V
Mario, is it possible to integrate LFS with an existing django project? Also is there any method to import the data from my existing satchmo installation to LFS? Swaroop Shankar V On Mon, Aug 27, 2012 at 10:31 PM, Mario Menezes wrote: > LFS is another option. Lightning Fast Shop is

Re: Ecommerce Solution

2012-10-03 Thread Swaroop Shankar V
Hi All, I was checking out different option and found django-oscar interesting and it is frequently updated too. Have anyone tried it out? What is your take on that project? Is it worth a try? Thanks and Regards, Swaroop Shankar V On Thu, Aug 30, 2012 at 5:06 PM, Swaroop Shankar V wrote

How to do some additional process while saving a django flatpage

2011-10-02 Thread Swaroop Shankar V
go, but after searching a lot i could not find any such signals available for flatpage. So which is the best approach to implement whatever i had described above. Thanks Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: Django Registration extra fields not getting saved

2011-10-03 Thread Swaroop Shankar V
i went for a normal installation signals worked just fine. Thanks and Regards, Swaroop Shankar V On Mon, Oct 3, 2011 at 2:37 PM, BILLION Sébastien < sebastien.bill...@gmail.com> wrote: > Hi, > > Can you send your signals.py? I think you have a problem with your signal > >

Re: How to do some additional process while saving a django flatpage

2011-10-03 Thread Swaroop Shankar V
from the flatpage table and then enter it into my menu table. So is there any way to make it an automated process? Thanks and Regards, Swaroop Shankar V On Mon, Oct 3, 2011 at 12:35 PM, Phang Mulianto wrote: > why not query your flatpage db and use the field for the menu in ur ta

Re: How to do some additional process while saving a django flatpage

2011-10-03 Thread Swaroop Shankar V
Thanks a lot Daniel, I guess this is exactly what I require. Will check it and revert back. Thanks and Regards, Swaroop Shankar V On Mon, Oct 3, 2011 at 4:21 PM, Daniel Roseman wrote: > On Sunday, 2 October 2011 15:03:12 UTC+1, Swaroop Shankar wrote: >> >> Hi, >> I am t

Setting default values in a form from DB table

2011-10-23 Thread Swaroop Shankar V
ure on how to set up the form values. My form's class code can be accessed via the url http://pastebin.com/1TuRmNhH . Please help. Thanks and Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Image Field Issue

2011-10-23 Thread Swaroop Shankar V
ads/images' which i guess should be in my MEDIA_URL. Then in my forms.py i have the following statment: avatar = forms.ImageField(label=_('Avatar')) I am not sure if i have done something wrong. Please guide me. Thanks Regards, Swaroop Shankar V -- You received this message because

Re: Image Field Issue

2011-10-23 Thread Swaroop Shankar V
). Thanks Regards, Swaroop Shankar V On Mon, Oct 24, 2011 at 7:07 AM, Swaroop Shankar V wrote: > Hello All, > > I am having a trough time with the Image Field. I am trying to upload an > image and even if i upload a valid image, the form validator throws an error > "Upload a v

Re: Image Field Issue

2011-10-23 Thread Swaroop Shankar V
Thanks Kurtis, I figured out that was the issue. I downloaded a copy of PIL from their official site. Installed the devel libraries for libjpeg and then did a setup.py install and now its fixed :) Regards, Swaroop Shankar V On Mon, Oct 24, 2011 at 11:32 AM, Kurtis Mullins wrote: > Dja

Re: Setting default values in a form from DB table

2011-10-24 Thread Swaroop Shankar V
Thank a lot Andre, this is my first project in Django so kind of confused at many parts. The links will help me to fix my issue. Thanks and Regards, Swaroop Shankar V On Mon, Oct 24, 2011 at 6:03 PM, Andre Terra wrote: > You should always populate your form in forms.py. This is done us

Help Required with Image Upload

2011-10-26 Thread Swaroop Shankar V
ocumentation, but it tells something about binding the form which am not able to correctly understand. Why do we need to bind a form with image field. Also whats the use of giving upload_to in model image field? Thanks in advance for any help. Regards, Swaroop Shankar V -- You received this messa

Re: How to do some additional process while saving a django flatpage

2011-11-27 Thread Swaroop Shankar V
statements since the document do not give much details about it. I am still not able to completely understand the signal's system in django. So I would request for a step by step instruction, if its possible. Thanks Regards, Swaroop Shankar V On Mon, Oct 3, 2011 at 9:22 PM, Swaroop Shankar V

Referring to same model records as a parent

2011-11-28 Thread Swaroop Shankar V
nt_id will be the id of the menu of the same table. So on the admin area i want a select box for the parent_id which will display the already entered records. How can it be done? Thanks and Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google Groups &q

Copying and Writing EXIF information from one file to another

2012-01-07 Thread Swaroop Shankar V
exiv2wrapper::Image {lvalue}) I am now clueless on what went wrong. Could someone please help me out? Thanks Swaroop Shankar V -- 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@googlegro

Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Swaroop Shankar V
table. I looked through the documentation but could not figure out how i can do it. If someone have any experience in doing the same please let me know the procedures. Thanks and Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google Groups "Dj

Re: Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Swaroop Shankar V
Thanks Anoop for those links, but it is not exactly what I require and also the overhead of xmpp server is also there. Well all i require is to know is how i can create an entry in the tables created by the commenting framework through an API if available. Thanks and Regards, Swaroop Shankar V

Joining Tables

2012-01-07 Thread Swaroop Shankar V
eld is a foreign key to django auth User model. Each user is assigned to a group (django Auth Group model). I want to retrieve all the photos which belongs to users of a specific group. How can it be done? Thanks and Regards, Swaroop Shankar V -- You received this message because you are subscribed

Re: Joining Tables

2012-01-08 Thread Swaroop Shankar V
, Swaroop Shankar V On Sun, Jan 8, 2012 at 2:34 PM, Jonas Geiregat wrote: > > > The user field is a foreign key to django auth User model. Each user is > assigned to a group (django Auth Group model). I want to retrieve all the > photos which belongs to users of a specific group. How

Re: Joining Tables

2012-01-08 Thread Swaroop Shankar V
Thanks a lot Anler, that's exactly what I want. I never knew that it was so simple. Thanks and Regards, Swaroop Shankar V On Sun, Jan 8, 2012 at 4:36 PM, Anler wrote: > Oh sorry, it should be this: > > photos = Photos.objects.filter(user__groups__id=the_group_id) > > --

Removing Save functionality from Admin

2012-01-12 Thread Swaroop Shankar V
Hi, I have a model called Photos, I would like to remove the save button and functionality from the admin area for photos model. Is it possible? Thanks and Regards, Swaroop Shankar V -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Removing Save functionality from Admin

2012-01-12 Thread Swaroop Shankar V
p of the Photos listing page. How can it be done? Hope my question is much more clear now. Thanks Regards, Swaroop Shankar V On Thu, Jan 12, 2012 at 2:53 PM, Swaroop Shankar V wrote: > Hi, > > I have a model called Photos, I would like to remove the save button and > functional

Re: Removing Save functionality from Admin

2012-01-12 Thread Swaroop Shankar V
hanks Regards, Swaroop Shankar V On Thu, Jan 12, 2012 at 10:34 PM, Denis Darii wrote: > You can rewrite the *has_add_permission* method of your admin class and > return False. > More info here: > https://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin. >

Joining tables

2012-01-14 Thread Swaroop Shankar V
popularity from the User model. This is the code am using to retrieve the users list userObject = User.objects.filter(is_active=1,is_staff=0,is_superuser=0) how can i order the data based on the popularity field in extrainformation? Thanks Regards, Swaroop Shankar V -- You received this message bec

Selecting an E-commerce Application

2012-01-14 Thread Swaroop Shankar V
nted an app which i can integrate into my existing django project. If anyone have used these before, please recommend which one I should use. Or is there any better e-commerce app? Thanks and Regards Swaroop Shankar V -- You received this message because you are subscribed to the Google Grou

Confused with django model Limit and Offset Implementation

2012-01-22 Thread Swaroop Shankar V
this works but am still confused. Please help. Thanks and Regards, Swaroop Shankar V -- 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, s

Re: Selecting an E-commerce Application

2012-01-24 Thread Swaroop Shankar V
starting the integration of Plata in my project and I hope you would lend some help if i get struck somewhere :) Thanks Regards, Swaroop Shankar V On Mon, Jan 16, 2012 at 10:28 PM, Matthias Kestenholz wrote: > On Mon, Jan 16, 2012 at 17:31, Lenz Hirsch > wrote: > > Servus, >

Re: Confused with django model Limit and Offset Implementation

2012-01-27 Thread Swaroop Shankar V
got it working thanks anyway :) Thanks and Regards, Swaroop Shankar V On Mon, Jan 23, 2012 at 12:00 PM, Leandro Ostera Villalva < leost...@gmail.com> wrote: > AFAIK it is [offset:page] > > El 22 de enero de 2012 20:40, Swaroop Shankar V escribió: > >> Hi, >>

Re: Django-Classifieds image upload issue

2012-11-26 Thread Swaroop Shankar V
Any help please..thanks On Nov 25, 2012 3:34 PM, "Swaroop Shankar V" wrote: > > Hello All, > I am trying to create a classifieds for my sites using django calssifieds. When ever I try to upload files from the user side, am getting the error > > OSError at /classifieds/cr

Re: How install django in windows

2013-11-15 Thread Swaroop Shankar V
ent. Its very easy to setup and configure django on a linux than on a windows machine. Thanks and Regards, Swaroop Shankar V On Nov 16, 2013 9:53 AM, "Anuradha Nair" wrote: > Hi, > > I am new to django and i want to install it in my windows system. > Can any one give