Re: uniquely identifying an entry

2010-02-07 Thread Waqqas Jabbar
Every model has a field by the name of "id" which is the primary key of the db table u can use SlugField() for a named unique value. On Thu, Feb 4, 2010 at 11:20 PM, harryos wrote: > hi > (sorry about this newbie question..) > I have designed an entry and a category

Re: Website themes in django

2010-02-03 Thread Waqqas Jabbar
each theme. This base file will determine what contents are included. On Wed, Feb 3, 2010 at 2:24 PM, Matthias Kestenholz < matthias.kestenh...@gmail.com> wrote: > On Wed, Feb 3, 2010 at 7:46 AM, Waqqas Jabbar <waqqas.jab...@gmail.com> > wrote: > > Hi, > > > >

Website themes in django

2010-02-02 Thread Waqqas Jabbar
Hi, I am thinking of making a "theme" application. The idea is to change the theme of the site easily from a list of available them (like in gmail). The theme selection can be based on - User (every user can choose her own theme) - Site (every site can have its own theme) - Browser specific -

Re: Easy database modeling question

2010-01-21 Thread Waqqas Jabbar
If you want to add a profile for each user, check out http://scottbarnham.com/blog/2008/08/21/extending-the-django-user-model-with-inheritance/ the key in django is reusing existing "applications" maybe this might help http://code.google.com/p/django-messages/ On Thu, Jan 21, 2010 at 6:16 AM,

Re: Django Gantt Chart

2010-01-04 Thread Waqqas Jabbar
http://code.google.com/p/django-graphviz/ On Mon, Jan 4, 2010 at 9:42 PM, Hinnack wrote: > what about: > http://matplotlib.sourceforge.net/ > > -- > Hinnack > > 2010/1/4 Daniel Hilton > > 2010/1/4 Alessandro Ronchi

Re: Know how many Concurrent Connections

2010-01-02 Thread Waqqas Jabbar
Hi If you mean how many users are browsing your site then you might want to look at django-tracking application http://code.google.com/p/django-tracking/ waqqas On Sat, Jan 2, 2010 at 4:41 PM, eka wrote: > Hi all, > > Is there any way to know, with Django, how many

django-audiorecorder ?

2010-01-02 Thread Waqqas Jabbar
Hi, There are audio players available for djagon, but is there any django project the provide audio recording capability? My search has not produce any good results. There are some python based libraries liky PyAudio ( http://people.csail.mit.edu/hubert/pyaudio/) or Gstreamer python binding,

Re: Creating a ISP control panel with Django.

2009-12-29 Thread Waqqas Jabbar
The main idea in django is to reuse apps. Define the functionality that you want and search for it. It is likely that you will find a lot of applications that you can use to speed up ur development. As an example of using a lot of application, check out http://pinaxproject.com/ On Wed, Dec 30,

Re: Reg. creating dynamic db table

2009-12-29 Thread Waqqas Jabbar
You can make one table and have date-time field in it corresponding to the time when the row is inserted. Then you can give a query to get for a day, days, month, or a year. On Wed, Dec 30, 2009 at 2:08 AM, Saravanan wrote: > Here I have an issue, I don't know how to

Model and Model Manager override-able methods

2009-12-07 Thread Waqqas Jabbar
Hi, Where can i get the list of ALL the methods that a derive class can override for Model and Model Manager classes goto -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To

Re: Custom get/set from model

2009-12-07 Thread Waqqas Jabbar
lar database field in one of your models (tables)? > > On Dec 7, 1:18 am, Waqqas Jabbar <waqqas.jab...@gmail.com> wrote: > > Peace to all, > > > > I want to do a custom implementation of "get" and "set" functions of a > > database model

Re: Hello

2009-12-07 Thread Waqqas Jabbar
you can go in admin site and add/modify/remove user and user permissions On Mon, Dec 7, 2009 at 11:13 AM, Tsolmon Narantsogt wrote: > How to use a permission. > ./manage.py syncdb > then how to create a users permissions > > -- > > You received this message because you are

Custom get/set from model

2009-12-07 Thread Waqqas Jabbar
Peace to all, I want to do a custom implementation of "get" and "set" functions of a database model. Do I ve to write a custom model manager or derive a class from models.Model ? Is it possible to write custom "get" and "set" functions for a model field ? goto -- You received this message

Re: Following "first app" tutorial -- admin site can't find css files

2009-12-06 Thread Waqqas Jabbar
for test server i add the following lines in settings.py import os SITE_ROOT = os.path.realpath(os.path.dirname(__file__)) STATIC_DOC_ROOT = os.path.join(SITE_ROOT, 'media/') and add the following lines in urls.py if settings.DEBUG == True: urlpatterns +=