Re: problem with integrating bootstrap 3.1.1 and django 1.6

2014-03-15 Thread rafiee.nima
I'm using development server . and when i use it seems work correctly but when I use my project file and directory structure is like : 1. root project folder 1. app folder 2. static 1. css 1. bootstarp.css 2. js 3. img 3. media 4. template

Re: database design problem.

2014-03-15 Thread Lachlan Musicman
I would make the imports model an "intermediate model" - see here: https://docs.djangoproject.com/en/1.6/topics/db/models/#extra-fields-on-many-to-many-relationships L. On 16 March 2014 09:41, willy Hakizimana wrote: > Thank you guys so much. You guys rock! > > > On Saturday, March 15, 2014 10:

Re: installing django trunk

2014-03-15 Thread Malik Rumi
First, Dan, thanks for the reply. Second, apologies for the long delay, but sometimes the day job gets in the way. Third, I did as you suggested, but Django 1.6.1 was NOT removed. My best guess is that the official documentation instruction that pip would take care of this for me only applies w

Re: database design problem.

2014-03-15 Thread willy Hakizimana
Thank you guys so much. You guys rock! On Saturday, March 15, 2014 10:38:03 AM UTC-5, willy Hakizimana wrote: > > First of all, this community is amazing at how fast questions are > answered. I have learned so much. > > > I am designing an app with models that look like this. > > Country(country_

Re: database design problem.

2014-03-15 Thread Alvin Lindstam
Actually, the Django term for this is "through". Not via. See https://docs.djangoproject.com/en/1.6/topics/db/models/#extra-fields-on-many-to-many-relationships on how to specify the intermediate table to be used in many-to-many relationships. Den lördagen den 15:e mars 2014 kl. 18:01:02 UTC

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

2014-03-15 Thread alonn
Thanks camilo but this is a caching framework. I know of and use.. Hardly an answer to what I'm looking for בתאריך 15 במרץ 2014 19:16, "Camilo Torres" כתב: > On Friday, March 14, 2014 3:10:09 PM UTC-4:30, Alon Nisser wrote: >> >> Can I use redis as a django database for some of my models? I'm awa

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

2014-03-15 Thread Camilo Torres
On Friday, March 14, 2014 3:10:09 PM UTC-4:30, Alon Nisser wrote: > > Can I use redis as a django database for some of my models? I'm aware (and > using) caching with django and redis, but I'm looking for something else > here: Something I can use at least some of the orm features with, handle a

Re: Can please someone explain this code from the docs?

2014-03-15 Thread Camilo Torres
On Friday, March 14, 2014 5:33:37 PM UTC-4:30, Voyager wrote: > > On 03/14/2014 11:49 PM, Shawn Milochik wrote: > > That's just the syntax for calling a method on the base class. > > > > 1. MultiEmailField is a subclass of forms.Field. > > 2. forms.Field has a method named validate. > > 3. Mul

Re: messaging

2014-03-15 Thread Camilo Torres
On Friday, March 14, 2014 4:02:08 PM UTC-4:30, Ankit Singh wrote: > > i want to know that for certain task i want to send some message to user > on his cellphone . > is there any way that i can do so in django with importing costly > application. > Hello, You can do with a third party module/API

Re: [newbie] -- Regex-matching ("Tango with Django")

2014-03-15 Thread Camilo Torres
On Friday, March 14, 2014 8:14:57 PM UTC-4:30, David wrote: > > I am wodering whether my implementation is incorrect or whether there is > a typo in the textbook. My question is how I can make sense of these > instructions: "The regular expression to match about/ is r'^about/'". > > I was follow

Re: Django Admin Multiupload Field

2014-03-15 Thread Jonathan Querubina
Camilo, I can`t use inline (i tryied) because the user has to select file by file, not all the same time On Mar 15, 2014, at 1:58 PM, Camilo Torres wrote: > > On Saturday, March 15, 2014 11:18:05 AM UTC-4:30, Jonathan Querubina wrote: > how can i have a Multiupload Field on a Model for the Dj

Re: Django Admin Multiupload Field

2014-03-15 Thread Camilo Torres
On Saturday, March 15, 2014 11:18:05 AM UTC-4:30, Jonathan Querubina wrote: > > how can i have a Multiupload Field on a Model for the Django Admin? > > I Found this: https://github.com/TND/django-files-widget > Hello, I don't fully understand your needs, but may be you can use inlines: https://

Re: database design problem.

2014-03-15 Thread Larry Martell
On Sat, Mar 15, 2014 at 9:38 AM, willy Hakizimana wrote: > First of all, this community is amazing at how fast questions are answered. > I have learned so much. > > > I am designing an app with models that look like this. > > Country(country_id(PK), country_name, gdp, gdp_growth, income_per_capita

Django Admin Multiupload Field

2014-03-15 Thread Jonathan Querubina
Hi guys, Maybe this is a noob question, but how can i have a Multiupload Field on a Model for the Django Admin? I Found this: https://github.com/TND/django-files-widget And sounds amazing, but i can`t get Pillow installed on my mac (10.9 / Xcode 5.1) Any of you have this problem? There`s an

database design problem.

2014-03-15 Thread willy Hakizimana
First of all, this community is amazing at how fast questions are answered. I have learned so much. I am designing an app with models that look like this. Country(country_id(PK), country_name, gdp, gdp_growth, income_per_capita) Product(product_id(PK), product_name, country_id(FK), imports_vol