Re: memcached and redis

2014-03-02 Thread Robin Lery
Thank you Andy and Russel! I guess I know a lot about those two cache methods. On Sun, Mar 2, 2014 at 5:23 AM, Andy McKay wrote: > On Sat, Mar 1, 2014 at 12:39 PM, Andreas Kuhne > wrote: > >> The main difference is that you can use redis as a session cache for >> django (save the session objec

django - commenting app for all other apps

2014-03-02 Thread Robin Lery
I have an app for forum. It has three classes *Tag*, *Question* and *Answer* . *models*: class Tag(models.Model): tag_name = models.CharField(max_length=100) timestamp = models.DateTimeField(auto_now_add=True, auto_now=False) updated = models.DateTimeField(auto_now_add

Re: memcached and redis

2014-03-02 Thread Andreas Kuhne
Hi, I really don't know if they exist. Check redis.io, you should be able to see them there. Regards, Andréas 2014-03-01 21:48 GMT+01:00 Robin Lery : > Ok, I think I get it now. Thank you so much! Just one more question > though, does redis has feature similar to *getidentifiable()* and > *p

Re: memcached and redis

2014-03-02 Thread Robin Lery
Hello, Its no bother. Thank you! I have learnt a lot from you guyz! On Sun, Mar 2, 2014 at 5:27 PM, Andreas Kuhne wrote: > Hi, > > I really don't know if they exist. Check redis.io, you should be able to > see them there. > > Regards, > > Andréas > > > 2014-03-01 21:48 GMT+01:00 Robin Lery : > >

Multiwidget internal widgets ID overridden bug?

2014-03-02 Thread Sai Prasanna
I saw that the render method in django.form.widgets. multiwidget class changes the id of internal widgets .Shouldn't it set internal widget ids if they are specified in attrs of widgets passed to the init. -- You received this message because you are subscribed to the Google Groups "Django users

about installed_apps and manage.py ( no module named oztrend)

2014-03-02 Thread 董健
My error is something like ImportError: no module named oztrend. I know that apps in the list of installed_apps can be searched in python/lib/site-packages or the app directory. however, i cannot figure out the search order. now, python/lib/site-packages are searched in the first place and the

Review needed

2014-03-02 Thread Kakar Nyori
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, Question, Video etc.*) Basically its a *Multiple Table Inheritance*. I need this to get all the post or all the *objects* of the user. And it does what I wan

Re: Using inlines on a one to many but not seeing "add another" link

2014-03-02 Thread Dennis Marwood
I went back to my original polls app and the link is not there either. So I spun up a new project and created the polls app again and found the link there. The only difference between the two apps that I can see is that I created the old one w/ django 1.4. On Saturday, 1 March 2014 15:53:41 U

Re: "No such table" error.

2014-03-02 Thread Camilo Torres
On Saturday, March 1, 2014 3:29:01 PM UTC-4:30, Omar Acevedo wrote: > > Hello, I'm having an issue in/with Django, which is on a shared hosting, > and I'm using virtualenv and fastcgi. (<- saying this, just in case it > helps in something) > > I'm getting > "OperationalError at /admin/ > no suc

Re: Trouble with Django in production server.

2014-03-02 Thread Camilo Torres
You also should be activating your virtualenv to run the server. On Saturday, March 1, 2014 8:46:10 PM UTC-4:30, jondbaker wrote: > > Instead of hard-coding paths, check out os.path, os.abspath and os.sep > (and the rest of the os module) for such needs. I usually declare a > PROJECT_ROOT var at

Re: about installed_apps and manage.py ( no module named oztrend)

2014-03-02 Thread Camilo Torres
On Sunday, March 2, 2014 12:35:58 PM UTC-4:30, 董健 wrote: > > My error is something like ImportError: no module named oztrend. > I know that apps in the list of installed_apps can be searched in > python/lib/site-packages or the app directory. however, i cannot figure out > the search order. now,

Re: django - commenting app for all other apps

2014-03-02 Thread Camilo Torres
On Sunday, March 2, 2014 5:30:01 AM UTC-4:30, Robin Lery wrote: > > I have an app for forum. It has three classes *Tag*, *Question* and > *Answer*. > > I also want to have comments for *Question*, *Answers* and also for *other > parts* of my apps. What is the best way to achieve this? I mean, wha

Re: Using inlines on a one to many but not seeing "add another" link

2014-03-02 Thread Camilo Torres
On Saturday, 1 March 2014 15:53:41 UTC-8, Dennis Marwood wrote: > > Hello. > Here are my models and admin.py dpaste.de > And here is the what I am referring to > https://docs.djangoproject.com/en/1.6/intro/tutorial02/#customize-the-admin-form > But I my not seeing the li

Re: Multiwidget internal widgets ID overridden bug?

2014-03-02 Thread Russell Keith-Magee
On Sun, Mar 2, 2014 at 10:29 PM, Sai Prasanna wrote: > I saw that the render method in django.form.widgets. multiwidget class > changes the id of internal widgets .Shouldn't it set internal widget ids if > they are specified in attrs of widgets passed to the init. > Hi Sai, If I'm understanding y

Re: Using inlines on a one to many but not seeing "add another" link

2014-03-02 Thread Dennis Marwood
I tried deleting the db and running syncdb again (even though that will not be a viable fix) and this issue was still present. Could you explain why this problem appeared and / or how to fix this issue? Did I miss something in the upgrade process? The docs just say to use pip and check the rele

Re: Trouble with Django in production server.

2014-03-02 Thread Omar Acevedo
I have inside a file called .bashrc, source /home/userName/.env/env/bin/active, which makes me be in in a virtual environment already, no? It has a (env) to the left all the time. I presume that that is "activating virtualenv to run the server", right? (: On Sun, Mar 2, 2014 at 7:19 PM, Camilo To