Re: function to create objects in a given model

2014-05-20 Thread Venkatraman S
On Tue, May 20, 2014 at 8:39 PM, Chansons wrote: > Hello everybody, > > I'm new to django, and writing my first app, I have a question before > deploying it. > > I need to have a function that would create or modify, according to a few > rules and a precise instance of

Re: Adding Forms with ModelForm and Writing Data

2014-05-16 Thread Venkatraman S
ctx = { 'customers':customers } to ctx = { 'customers':customers , 'form': form } On Wed, May 14, 2014 at 11:22 AM, G Z wrote: > so I changed my code into 3 parts. If I understood the documentation right >> this should create a form based on the Customer model in

Re: Why some static files work, but others don't?

2014-05-16 Thread Venkatraman S
Naive Q: did you check if the js files exist there? On Thu, May 15, 2014 at 5:23 PM, Jason S wrote: > Hi, > I've just created a really basic django site, its got the tutorial polls > and thats about it. > I've added in the metro UI and added it to the static files directory >

Re: Is Django the best for my web app ?

2014-05-16 Thread Venkatraman S
Honestly, django may be an overkill for you, as something lightweight like Flask might do the magic for this particular usecase. Or even a simple html with js should do without any added framework shebang. BUT, django, comes with an awesome community and loads of packages that might help you a

Re: Django authentication by email

2014-05-15 Thread Venkatraman S
On Thu, May 15, 2014 at 5:26 PM, Frankline wrote: > Hi all, > > I am thinking of developing a web application where users will have to > login by their email address instead of using their usernames. > > Now I know I can do this by writing my own auth backend, but I'm just >

Re: Django Form Question, Last Post Wasn't Formatted Correctly So I Deleted and Made a New One.

2014-05-14 Thread Venkatraman S
Please pass the form to the template :) On Wed, May 14, 2014 at 11:24 AM, G Z wrote: > Below is my code. I am trying to generate a customer signup form from the >> Customer model in the models.py file. >> > Below I have created forms.py which is the script that will generate

Re: List Filter Age range

2014-05-13 Thread Venkatraman S
# django-filters does awsum stuff with filtering. # create a form with 2 date fields and then use it as an input in your filtering function(in the view) On Sun, May 11, 2014 at 6:39 PM, Anderson wrote: > Hi there. > > I'm having a problem with filter a model by age

Re: html email function to a large recipient list problem

2014-05-13 Thread Venkatraman S
I havent looked at your entire problem statement , but https://github.com/pinax/django-mailer does give you many features w.r.t emails OOB. On Mon, May 12, 2014 at 3:49 PM, MikeKJ wrote: > Anyone have an insight into this please? > > -- > You received this message

Re: displaying album title for appropriate image (ForiegnKey)

2014-05-13 Thread Venkatraman S
# You have a FK from Image to Album and hence there will only be only 1 Album for every image as per your design # Have a look at django-photologue for some code-inspiration. -Venkat On Mon, May 12, 2014 at 10:47 AM, bradford li wrote: > I am trying to display the album

Re: active/alive Calendar app options for Django

2014-05-09 Thread Venkatraman S
On Fri, May 9, 2014 at 7:26 PM, Adam Teale wrote: > Well it looks like I am not getting any errors! Great, and I can see the > calendar controls. > But no calendar! > Do I need to create my own calendar model - Event, EventType.. etc? And > plug that into the

Re: Gallery App process

2014-05-08 Thread Venkatraman S
On Thu, May 8, 2014 at 12:43 PM, bradford li wrote: > I want to know how to display images separated by albums onto a page in > Django. So far, I've learned how to do so with the line > > > > in my html file. > > What I want to do is have a few album thumbnails out and

Re: active/alive Calendar app options for Django

2014-05-08 Thread Venkatraman S
On Fri, May 9, 2014 at 1:55 AM, Adam Teale wrote: > Hi guys, > > Quick question, anyone using or know of a calendar app that is currently > in active development that i could use in my django app? > > I've been trying to get django-swingtime and django_bootstrap_calendar but

Re: Gallery App in Django project

2014-05-08 Thread Venkatraman S
On Fri, May 9, 2014 at 4:22 AM, m1chael wrote: > photologue may work for you.. i use it, and have customized it very > extensively for my needs +1. Very easy to customize and play with. Does most of the functions needed of a photo-app. -- You received this message because

Re: Install Django debug toolbar - Error Path

2014-05-07 Thread Venkatraman S
On Wed, May 7, 2014 at 10:48 PM, Rafael Santos wrote: > Python Version: 2.7.6 > Django Version: 1.6.4 > > > Traceback: > File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in > get_response > 201. response = middleware_method(request,

django-smart-selects ModelForm Issue

2014-05-07 Thread Venkatraman S
Hi, In the context of using django-smart-selects: as anyone stumbled on an issue with a Model using ChainedFK and if the queryset of chained_field in the ModelForm is changed before rendering? ie., if person is the chained_field in my form and I

Re: Proper way to nest data (deeply)

2014-05-02 Thread Venkatraman S
It looks pretty simple to me actually and am not sure if you need mptt. Just the FK needs to be designed properly to capture the 1-to-many relationships. On Fri, May 2, 2014 at 11:13 PM, Venkatraman S <venka...@gmail.com> wrote: > https://github.com/django-mptt/django-mptt > >

Re: Proper way to nest data (deeply)

2014-05-02 Thread Venkatraman S
https://github.com/django-mptt/django-mptt On Fri, May 2, 2014 at 11:07 PM, Scott Harper wrote: > Hello, > > I am using django as a tool to help edit data for a game project I am > working on. Unfortunately, the data relationships have gotten pretty deep > recently,

Re: What is the best framework to develop one ERP in django?

2014-05-02 Thread Venkatraman S
On Fri, May 2, 2014 at 7:13 PM, Fellipe Henrique wrote: > > I start to build my online version of my company ERP. > > But, I try to use Bootstrap Twitter, Foundation.. and all inputs seems to > me bigger.. and we doesn't make a good screen for the user. > Why do you need

Re: There's any package to integrate jquery validation in my model forms?

2014-05-01 Thread Venkatraman S
On Fri, May 2, 2014 at 5:47 AM, Fellipe Henrique wrote: > There's any package to integrate jquery validation in my model forms? > > A side note : crispy-forms and parsley does most of the lifting w.r.t forms for me. -- You received this message because you are subscribed to

Re: Structuring an API in a large project

2014-05-01 Thread Venkatraman S
On Thu, May 1, 2014 at 9:46 PM, Adam "Cezar" Jenkins <emperorce...@gmail.com > wrote: > On Thu, May 1, 2014 at 11:10 AM, Venkatraman S <venka...@gmail.com> wrote: > >> >> >> On Thu, May 1, 2014 at 9:29 PM, Cezar Jenkins <emperorce...@gmail.c

Re: Structuring an API in a large project

2014-05-01 Thread Venkatraman S
On Thu, May 1, 2014 at 9:29 PM, Cezar Jenkins wrote: > Right now I have a large project with an equally large API (done using > django rest framework). The current structure is something like this: > > api > |-urls.py > |-models.py > | > v1 > |-views.py

Re: select_related reverse?(!)

2014-05-01 Thread Venkatraman S
Instead of spoon-feeding you, I would recommend using DDT and check out the query that is generated and whether if it satisfies your use-case. By this, you will know how exactly select_related works and also the number of queries that gets fired in the page and what happens once you use this. On

Django on App engine

2014-05-01 Thread Venkatraman S
Hi, Has anyone or is anyone running a reasonably large django webapp on GAE? Looks like it has becomereasonably easier now compare to what it was a few years back. Any experiences? regards, Venkat -- You

Re: Python/Django based Enterprise framowrk

2014-05-01 Thread Venkatraman S
On Thu, May 1, 2014 at 12:24 PM, Kenan Bek wrote: > > So, now, I am looking for frameworks based on Django which will give > features for following issues: > > Django itself is a framework :) > - rich CRUD views generation (list/table, details, edit and create forms) >

Re: Model Design, Nesting by Year

2014-04-29 Thread Venkatraman S
Why not have separate models for Event and Season and then use an intermediate table to capture the M2M between event occurrences and Person. On Thu, Apr 24, 2014 at 12:43 AM, Christopher Grande wrote: > I'm in the process of designing an internal system and I'm having

Re: placing views and models in configuration root

2014-04-29 Thread Venkatraman S
On Tue, Apr 29, 2014 at 12:41 PM, Andreas Bloch wrote: > because they are sites in a bigger django project with multiple apps... > I think you are referring to something like a company website along with a SaaS solution. If yes, there are multiple ways could be done. But a

Re: Subjectively Required Fields

2014-04-29 Thread Venkatraman S
What do you mean by an invalid date? IF you are referring to the date format, then why not enforce a jquery datepicker and let the user choose from it - which would make sure that specified date is 'clean'. If not the above, a closer look at clean() method would help you ;) On Mon, Apr 28, 2014

Re: placing views and models in configuration root

2014-04-29 Thread Venkatraman S
Use nginx and serve static content . Why use django? -V On Tue, Apr 29, 2014 at 12:06 PM, Andreas Bloch wrote: > so what do you when you're making trivial sites, that don't have any > database models, like about-page, landing-page and so on? > would you make a separate app

Re: placing views and models in configuration root

2014-04-28 Thread Venkatraman S
On Mon, Apr 28, 2014 at 11:57 AM, Andreas Bloch wrote: > is it bad practice to create a views.py and models.py file and place it in > the configuration root? (the folder that is created when you run > "startproject " which contains the settings, urls, and uwsgi > file") > An

Re: [OT]Code Review As a Service

2014-04-27 Thread Venkatraman S
people/team(s) :) Please do get in touch with me in private to discuss more, if it interests you. Regards, Venkat On Tue, Jan 25, 2011 at 3:12 PM, Venkatraman S <venka...@gmail.com> wrote: > Hi, > > I was wondering whether there any freelancers/companies who offer > code-r

Re: Django and SSL

2014-04-26 Thread Venkatraman S
On Sat, Apr 26, 2014 at 2:46 PM, James Schneider wrote: > If you use a separate subdomain for static content (recommended), even on > the same server, include that as well. > Thanks James. I did not know this(subdomain for static content) was recommended. Why? Regards,

Re: Django and SSL

2014-04-24 Thread Venkatraman S
And I prefer being on nginx + uWSGI. On Thu, Apr 24, 2014 at 1:05 PM, Venkatraman S <venka...@gmail.com> wrote: > Hi, > > Am an SSL newbie and am trying to understand various facets of moving a > webapp to ssl. Are there any learnings that the group can share w.r.t > moving

Django and SSL

2014-04-24 Thread Venkatraman S
Hi, Am an SSL newbie and am trying to understand various facets of moving a webapp to ssl. Are there any learnings that the group can share w.r.t moving a django site to ssl? Any pitfalls or things to be careful about. Or is it a totally independent activity with no side effects on the

Re: Including Page Fragments

2014-04-17 Thread Venkatraman S
e compiler code. > https://github.com/django/django/blob/master/django/template/__init__.py > https://github.com/django/django/blob/master/django/template/base.py > > Regards, > Ramon > > On Wed, Apr 16, 2014 at 10:21 PM, Venkatraman S <venka...@gmail.com> > wrote: >

Including Page Fragments

2014-04-16 Thread Venkatraman S
Just saw a weird problem while including template fragments: Works : {% include "page.html" with one_variable="1" %} Does not because of the space during the variable assignment : {% include "page.html" with one_variable = "1" %} Regards, Venkat -- You received this message because you

Re: Django Dynamic Formsets

2014-04-12 Thread Venkatraman S
Can you try with this : https://gist.github.com/venkasub/10544716 It works for me. Let me know if you have trouble. -V On Wed, Apr 9, 2014 at 4:58 PM, Leandro Alves wrote: > Hi again, > > So I followed the documentation and created a formset as we have there. >

Re: Django Dynamic Formsets

2014-04-08 Thread Venkatraman S
Actually, there is nothing more to it. Include the js and create the formset_factory and start using it in the template by iterating over it. In the view, post-POST, again iterate over the formsets. Bulk of the work is done by the js and you dont have to do much in django. There is a minor bug in

Re: Django Dynamic Formsets

2014-04-07 Thread Venkatraman S
Have you tried the jquery formset - works like a breeze for me. On Mon, Apr 7, 2014 at 10:43 PM, Leandro Alves wrote: > Hi, > > I wonder if anyone knows of any example of django-dynamic-formsets [1] > that works with Django 1.6? > > So far all I found on the internet are

Re: User constantly being logged out when using a site with 2 tabs open

2014-04-07 Thread Venkatraman S
Have you set any middleware that allows only one session at a time? On Mon, Apr 7, 2014 at 6:48 PM, Mark Steadman wrote: > Hi. Don't know if this is specific to Django, but my site is the only one > I've experienced this with, and I don't think I'm doing anything special >

Re: do I need to run syncdb when I change the default value in a field of a model?

2014-04-07 Thread Venkatraman S
On Fri, Mar 21, 2014 at 5:43 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Thu, Mar 20, 2014 at 6:50 PM, Venkatraman S <venka...@gmail.com> wrote: > >> >> On Sat, Mar 15, 2014 at 7:11 AM, Russell Keith-Magee < >> russ...@keith-magee.c

Re: Django and Long Polling

2014-03-22 Thread Venkatraman S
Why not use (async)callbacks? -V On Sun, Mar 23, 2014 at 1:11 AM, Robin Lery wrote: > Hello, > I need to implement long polling in my application to retrieve the events. > But I have no idea how to do it. I know the concept of long polling, i.e to > leave the connection

Re: How allow public query & download of info from my db

2014-03-21 Thread Venkatraman S
On Fri, Mar 21, 2014 at 12:17 AM, Nicholas Tapia wrote: > Hey Django Community! > > I'm newer to programming and was pointed in the direction of django for > this project. > > The idea is that people can make their own custom queries and download > load it from my db. >

Re: [GSOC] Django-based project for the neuroinformatics community: neurostars.org

2014-03-20 Thread Venkatraman S
On Thu, Mar 20, 2014 at 3:46 PM, Roman Valls Guimerà wrote: > At http://incf.org, we launched a Stackoverflow-like website to engage the > > neuroscientific community: > > http://neurostars.org > > > Just curious : Is this based on askbot? Or did you develop the whole thing?

Re: do I need to run syncdb when I change the default value in a field of a model?

2014-03-20 Thread Venkatraman S
On Sat, Mar 15, 2014 at 7:11 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Sat, Mar 15, 2014 at 7:19 AM, Jonathan Baker < > jonathandavidba...@gmail.com> wrote: > >> Does that mean that the default="" functionality is implemented by the >> ORM, instead of in the database layer?

Re: submit buttons in django

2014-03-20 Thread Venkatraman S
Add the required view to redirect once this button is clicked. -Venkat On Thu, Mar 20, 2014 at 9:18 AM, Harjot Mann wrote: > I have a form in my app and after entering data into that form I > submit that form but I want an another submit button like "Submit and > Add

Re: Simple User login not working.

2014-03-20 Thread Venkatraman S
I cannot see the screenshot, but two things: 1. Why GET? :-/ 2. Did you check if the users are 'active'? i.e, active flag set? -Venkat On Thu, Mar 20, 2014 at 1:51 AM, Don Fox wrote: > My project has two superusers who have access to the Django Administration > and who

Re: Review needed

2014-03-19 Thread Venkatraman S
Why do you want to do this! It looks complicated and badly formed. -V On Mon, Mar 3, 2014 at 12:11 AM, Kakar Nyori wrote: > Hello, > This may be long, but I really need your help. I have a class *Asset*, > which is the *base class* of another *classes *(like *Photo,

Re: Using Redis as a DB backend for some models (not a caching backend!)

2014-03-19 Thread Venkatraman S
Good Q. Something along the lines of : https://docs.djangoproject.com/en/dev/topics/db/multi-db/ ? Let us know what you find. On Sat, Mar 15, 2014 at 1:10 AM, Alon Nisser wrote: > Can I use redis as a django database for some of my models? I'm aware (and > using) caching

Re: Django Logging database queries

2014-03-19 Thread Venkatraman S
INSERT/UPDATE/DELETE/SELECT cover almost all types that will be used. What else is getting logged? And what do you mean by 'FAILED' Select queries? Do you mean Timed-out ones? On Thu, Mar 13, 2014 at 12:32 PM, Anju SB wrote: > Dear All, > > I am a newbie in Django

Re: Moving the focus from the 'Save' button to the 'Save and add another' one

2014-03-19 Thread Venkatraman S
To get you started rather then spoonfeeding you : Have you looked at the code which generates this button? Can you think of possible javascript alterations that you can do to change the focus or order? -V On Sun, Mar 16, 2014 at 1:10 AM, vittorio wrote: > My 1.6.2 django

Re: starting a django project

2014-03-19 Thread Venkatraman S
Are you using any tutorials to get started? Also, is this on Windows or Linux - shouldnt be much different; you might have some PATH issues in certain cases. Also, you haven't mentioned if you got any errors/warnings while starting the project. -Venkat @venkasub On

Re: how to create google app for login in django project?

2013-05-17 Thread Venkatraman S
I assume you are referring to using Google's auth scheme, if yes, then: https://github.com/omab/django-social-auth is your friend. If you are referring to Google App Engine, then am not sure what your question is. -V @venkasub On Fri, May 17, 2013 at 3:46 PM, Avnesh

Re: Forcing group_by on a field other than id

2013-05-14 Thread Venkatraman S
I assume you want to count the number of records based on the date; or in other words, number of times a song is played grouped by date..right? If yes, does something like this help:

Re: Django and apache

2013-05-12 Thread Venkatraman S
Set STATIC_ROOT in your settings.py and run 'collectstatic'. You need not mention in your /static/admin /usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin in your apache conf then. On Mon, May 13, 2013 at 7:16 AM, Stanley Agba wrote: > Thanks Guys, > The

Re: Django and apache

2013-05-12 Thread Venkatraman S
What i am going to suggest is totally orthogonal to your requirement as i am not helping you with apace+mod_wsgi. Though this generally works, but i think you should consider nginx if you are thinking about new deployments or learning this skill. And the reasons why i suggest nginx? Well.. 1.

Re: How many workers do you run on one machine using django celery?

2013-05-06 Thread Venkatraman S
Do also check out uWSGI spooler - i haven't tested with heavy loads yet, but looks to do the work for a reasonably small site. -V @venkasub On Sun, Apr 21, 2013 at 8:37 PM, sparky wrote: > wow, some good advice here thanks. I tested with

Re: [Announce] Django Graphos - Django charting made *really* easy

2013-05-05 Thread Venkatraman S
Looks good.You may also want to have a look at Jacobian's google-chart[ https://github.com/jacobian/django-googlecharts ] for some inspiration with the code. I loved the way he makes it so simple. Also, as you know, the problem with most charting dashboards is the ability to change the view(i.e,

Re: Multi-tenant database model with new user model?

2013-05-02 Thread Venkatraman S
I think i had stumbled on django-multitenant or django-simple-multitenant sometime back. I took some ideas from there and implemented my own version of custom multi-tenancy. On Wed, May 1, 2013 at 8:31 PM, Dan Gentry wrote: > Something I'm looking forward to learning as

Re: django-filetransfers and HttpResponseRedirect

2013-04-29 Thread Venkatraman S
On Mon, Apr 29, 2013 at 3:43 PM, Shawn Milochik wrote: > Use HttpResponseRedirect, as you mention in your subject line. > Question is 'why'? -V -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: django-filetransfers and HttpResponseRedirect

2013-04-28 Thread Venkatraman S
Following this up... any thoughts? On Thu, Apr 4, 2013 at 9:34 AM, Venkatraman S <venka...@gmail.com> wrote: > > I use django-filetransfers in my app and had a quick Q on one of the > comments by the author in this post : > http://www.allbuttonspressed.com/projects/django-fi

Re: Template Caching with Messages

2013-04-26 Thread Venkatraman S
I find testing in dev server(runserver) using a filebased cache is the easiest and quickest way to test. One can delete the files and check if and when new entries are created in the folder. -V On Fri, Apr 26, 2013 at 6:58 PM, Chris Lawlor wrote: > V, > > You're exactly

Template Caching with Messages

2013-04-24 Thread Venkatraman S
It looks to me that when i use a file based caching, and if append messages in my templates(based on user action), that particular page(with message) also gets cached. Since 'these' pages would never be created again, what is the best possible option? (Well, i just used file-based cache to quickly

Re: a wired problem with Debug for django1.5.1

2013-04-22 Thread Venkatraman S
On Mon, Apr 22, 2013 at 8:30 AM, liu li wrote: > > When Debug = False, all of things are working fine, > > when Debug = True, browser got an error with 500 > > so do you know why? > > I am using nginx to handle all of static files like css,img > Is INTERNAL_IPS /

Re: Using .extra after using .annotate is not working

2013-04-16 Thread Venkatraman S
On Tue, Apr 16, 2013 at 1:39 PM, Shabda Raaj wrote: > I am trying to get a field in a queryset which depends on the result > of the annotations. I tried using extra on an annotated queryset, > which doesn't seem to work. > Does something like this work?

Re: Pagination with file upload (MultiValueDictKeyError)

2013-04-16 Thread Venkatraman S
On Tue, Apr 16, 2013 at 10:40 AM, wrote: > I have a simple form that takes a user upload, queries a database, and > displays results in a table. I receive the following error whenever I try > to go to the second, third, fourth, etc page: Why are you querying the DB?

Re: Understanding users auth in Django

2013-04-14 Thread Venkatraman S
I've done something similar for my own personal project and i can share how i did it: I used the Django User. And then created a ProfileDetails model that has a OneToOneField with User. An Organization Model An Employee Model - Contains FK to Organization and User Also, i did implemented my own

Re: Need Advice: Sending Emails

2013-04-12 Thread Venkatraman S
On Fri, Apr 12, 2013 at 10:51 PM, Kurtis Mullins wrote: > Check out sendgrid. If you use Rackspace I think they even give you a good > discount. > Yes, they are called as "ESP" - Email Service Provider. And I have thought about them. Looks like this is the only way

Re: Need Advice: Sending Emails

2013-04-12 Thread Venkatraman S
t; > +380 636150445 > skype: skhohlov > > > On Fri, Apr 12, 2013 at 9:05 AM, Venkatraman S <venka...@gmail.com> wrote: > >> Well, my Q what should i do so that i get 'delieverd' emails from both >> django apps and also *nix processes. >> >> &g

Re: Need Advice: Sending Emails

2013-04-12 Thread Venkatraman S
auth client. In > other case it is open relay. > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > > On Thu, Apr 11, 2013 at 9:37 PM, Venkatraman S <venka...@gmail.com> wrote: > >> >> Am sure many in this mailing list are running web

Need Advice: Sending Emails

2013-04-11 Thread Venkatraman S
Am sure many in this mailing list are running websites that send emails to customers from their django applications. And also emails from the operating system(like logwatch etc). I was wondering how you do you achieve both? For example, when i use a gmail id, i see that i am able to send an

Re: How to change the {{ form.as_table }}

2013-04-08 Thread Venkatraman S
Also, do have a look at crispy-forms. -Venkat On Mon, Apr 8, 2013 at 7:59 AM, Ben Carleton wrote: > You can use the label attribute on your form fields to override the > default labels: > > dn = forms.CharField(label="dn") > cv = forms.CharField(label="cv") > > -- Ben > >

django-filetransfers and HttpResponseRedirect

2013-04-03 Thread Venkatraman S
I use django-filetransfers in my app and had a quick Q on one of the comments by the author in this post : http://www.allbuttonspressed.com/projects/django-filetransfers He mentions "Note that it's important that you send a redirect after an upload. Otherwise, some file hosting services won't

Re: Webfaction vs DigitalOcean

2013-04-02 Thread Venkatraman S
ing you want, however you want, where > instances can be deployed fast (a bit like amazon AWS). > > It is a tradeoff between easy to use and control. > > Regards, > Carlos Ruvalcaba > > > On Tue, Apr 2, 2013 at 10:31 AM, Venkatraman S <venka...@gmail.com> wrote: > &g

Webfaction vs DigitalOcean

2013-04-02 Thread Venkatraman S
I know Webfaction has been a favourite for many of us, but was wondering if anyone moved to DO from Webfaction and has any praises to sing. Any feedback? -Venkat -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

No multiple calls while iterating the queryset in template

2013-03-27 Thread Venkatraman S
Interesting Observation: So, am passing a queryset to my template and based on the way a field in the record 'starts-with', i am rendering the record into different 'tables' in the view. Something like: {% for record in settings %} {%if record.type|starts_with:"EMAIL_" %} ...show record

Re: Django payment gateway with subscription management

2013-03-27 Thread Venkatraman S
And any other options other than that .. to be used Internationally? I know of ... chargify, ccavenue, spreedly, fusebill, merchee, cheddargetter, chargify, zuora etc. Am trying to do a comparison between all these possible services in terms of their fees and also features. On Wed, Mar 6, 2013

Re: Avoiding Sessions

2013-03-27 Thread Venkatraman S
at 7:28 PM, Shawn Milochik <sh...@milochik.com> wrote: > Use django-redis-sessions as a back end instead of the database. > On Mar 27, 2013 9:35 AM, "Venkatraman S" <venka...@gmail.com> wrote: > >> So, if i am right, usage of sessions makes an e

Re: Navigation Bar

2013-03-27 Thread Venkatraman S
On Wed, Mar 27, 2013 at 5:55 PM, Simon Shaw wrote: > I am Django/Web newbie developer and I am looking for the correct way to > add a navigation bar (hopefully the correct term) to my ticketing app such > that the options "Admin", "Open New Ticket", "View New Ticket", >

Avoiding Sessions

2013-03-27 Thread Venkatraman S
So, if i am right, usage of sessions makes an extra call to the DB for every view with login_required. SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name",

Re: Survey : Theme for Django admin interface

2013-03-10 Thread Venkatraman S
On Mon, Mar 11, 2013 at 3:49 AM, Emiliano Dalla Verde Marcozzi < e...@fedoraproject.org> wrote: > > I was looking for this, but didnt find anything. i think it can have a > great market, something like > this web: > https://wrapbootstrap.com/theme/unicorn-admin-template-WB0F35928 > For me, a

Survey : Theme for Django admin interface

2013-03-09 Thread Venkatraman S
Hi, Was wondering if there are *paid* takers for themes for the django-admin interface. I know there are a few that exist already but am not quite happy with them. I can definitely spend a few days/weeks and develop some nice looking ones, but wanted to check if people are really looking for

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread Venkatraman S
Even then, its till a 'code'. You admin might not even load :) On Mon, Mar 4, 2013 at 8:33 PM, frocco wrote: > I plan on using this only on the admin side. > > On Monday, March 4, 2013 9:18:59 AM UTC-5, Venkatraman.S. wrote: >> >> If your website is massive, the following can

Re: urls.py not loading changes

2013-03-04 Thread Venkatraman S
Well, it so happens that when you ftp the file from your local box to a remote machine the timezones are mostly different. For eg. i am in India and we are 'ahead' of the US, so when i push my code to a server in US timezone, i see this problem most often. On Mon, Mar 4, 2013 at 8:26 PM, Bill

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread Venkatraman S
If your website is massive, the following can cause latency issues(also hang!). Check what the SQL that gets generated using the django-debug-toolbar to get some more cues. On Mon, Mar 4, 2013 at 7:35 PM, frocco wrote: > Thanks for your input, I found this on google also. > >

Re: error in filling data in dtabase through admin page..

2013-03-04 Thread Venkatraman S
On Fri, Mar 1, 2013 at 12:32 PM, Avnesh Shakya wrote: > hi, i have got one error during adding data in database though admin page, > actually it was working fine, but i made some attributes optional, now it's > generating error.. > i m adding m models.py ,plz help me.. >

Re: Benchmarking and timing DB transactions in Django

2013-03-04 Thread Venkatraman S
On Fri, Feb 22, 2013 at 4:48 PM, R R wrote: > > I was wondering if there are any tools to benchmark DB transactions using > the Django ORM. I'm using PostGreSQL with Django 1.4. I'm required to > compare and come up with the best possible database design for a project >

Re: urls.py not loading changes

2013-03-04 Thread Venkatraman S
Always prefer to delete the .pyc fie for issues such as these wherein changes are not reflected despite server restart. On Sun, Mar 3, 2013 at 9:59 PM, Serge G. Spaolonzi wrote: > Maybe the server is loading an old .pyc file. try to delete the urls.pyc > file and restart the

[X-POST] Fwd: [Ilugc] SQL Injection vulnerability in Ruby on Rails forces websites to close down

2013-01-09 Thread Venkatraman S
FYI: -- Forwarded message -- From: Natarajan V Date: Thu, Jan 10, 2013 at 10:49 AM Subject: [Ilugc] SQL Injection vulnerability in Ruby on Rails forces websites to close down To: ILUG-C Hi, A major security vulnerability found in RoR

Re: I LOVE THIS COMMUNITY!

2012-09-03 Thread Venkatraman S
We have your curiosity...as well as your attention ;) http://www.youtube.com/watch?v=eUdM9vrCbow -V twitter.com/venkasub On Wed, Aug 22, 2012 at 10:21 AM, Pervez Mulla wrote: > Yup.:) Really its very awesome community :) > On Wed, Aug 22, 2012 at 9:19 AM, JJ

Fwd: [BangPypers] Kenneth Gonsalvas a short bio

2012-08-03 Thread Venkatraman S
More on KG : -- Forwarded message -- From: JAGANADH G Date: Fri, Aug 3, 2012 at 10:45 PM Subject: [BangPypers] Kenneth Gonsalvas a short bio To: ILUG-C , chenna...@googlegroups.com, ilug...@googlegroups.com, Indian Python Software Society

Re: Model-driven Django development

2012-01-22 Thread Venkatraman S
On Sat, Jan 21, 2012 at 9:20 AM, Alec Taylor wrote: > At University I've learned various techniques for model-driven > developments, such as: > - Class diagrams (generate code) > - ERD Diagrams (generate db code [e.g. SQL]) > > Can any of these sorts of—or for that

Re: [pinax-users] Learn DJango first, then learn Pinax; or just learn Pinax straight-off?

2012-01-16 Thread Venkatraman S
http://www.lightbird.net/dbe/ has some neat hands-on tutorials. -Venkat -- 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

Re: Best Practices for Outsourcing Partial Development?

2012-01-16 Thread Venkatraman S
On Tue, Jan 17, 2012 at 6:30 AM, cjwalter wrote: > This is why I would appreciate to hear about experiences traveling > this road. What worked and what didn't? > Have never been a fan of elance etc; you should be lucky to find a good set of 'trained hands' there. The best

Re: Since Django has its own database schema, can we still use sqlalchemy instead?

2012-01-08 Thread Venkatraman S
On Sun, Jan 8, 2012 at 9:49 AM, Chen Xu wrote: > > Since Django has its own database schema, can we still use sqlalchemy > instead? > Just to correct the nomeclature : Django has an ORM, and *NOT* a database schema. An application has its own schema. And to answer the

Re: django/Data Base Advice

2012-01-04 Thread Venkatraman S
On Wed, Jan 4, 2012 at 6:50 PM, Andre Terra wrote: > You won't need to write raw SQL in Django until you've reached a big > bottleneck, and one that can't be solved in any other way. Writing raw SQL > is exactly what Django wants you to *stop* doing. The ORM doesn't only >

Re: ERP with Supply chain management (incl. POS) and Customer relationship management — What's available?

2012-01-02 Thread Venkatraman S
On Mon, Jan 2, 2012 at 3:15 PM, Alec Taylor wrote: > > So I think building it myself would be my best bet. > > Looking forward to the schema design tutorial of the model layer, > Am not sure what you are hinting at. First define the business

Re: ERP with Supply chain management (incl. POS) and Customer relationship management — What's available?

2012-01-02 Thread Venkatraman S
On Thu, Dec 15, 2011 at 12:13 AM, Alec Taylor wrote: > Good morning, > > I am building a ERP > [http://en.wikipedia.org/wiki/Enterprise_resource_planning] with > Supply chain management (incl. POS and ecommerce) and Customer > relationship management. > > Which libraries

Re: bar charts

2011-11-08 Thread Venkatraman S
I have documented a set of viz libraries: http://blizzardzblogs.blogspot.com/2010/12/data-visualization-charts-and.html -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

Re: django ajax select

2011-10-31 Thread Venkatraman S
On Mon, Oct 31, 2011 at 10:07 AM, pradnya wrote: > i m using ajax select plugin in my project which i got from > https://github.com/crucialfelix/django-ajax-selects . > now i want to know how can i use it in django admin's tabular inline ? > > What you want to do in

Re: Django ORM - Am I trying to do the impossible?

2011-10-21 Thread Venkatraman S
Actually, thinking about this thread(and other one which needs something similar), i think the best way is not to confuse the 'history/update' with the actual 'data'; i mean, that history/updates are just for tracking the revisions, the individual attributes of the entity should be present in the

  1   2   3   4   >