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 both Bootstrap and Found

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, and I'm having some difficult

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 wrote: > https://github.com/django-mptt/django-mptt > > > On Fri, May 2, 2014

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 c

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, response) > File "C:\Python27\

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 you are subscribed

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 > i've got errors tha

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 upon click, all > the imag

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 bootstrap_calendar. > I think I'm mis

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 titles related to my i

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 because you are subscribed to

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 range, is a DateField but >

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 the > form data bas

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 > curious how the rest

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 t

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 > under the appropri

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 models.py and >> display i

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 a model (Song), many instan

<    1   2   3   4