Django admin list instances of model 
In Django admin index page normally,the app and it's models will be listed.But Just to know How to list the model objects in this index page? Just Instead of the displaying app just i wanna display the it's model objects? How it should be customized?


http://stackoverflow.com/questions/7505 ... el-objects


[ add comment ] ( 5 views )   |  [ 0 trackbacks ]   |  permalink  |  related link
Django Admin customization plugins 
Grappelli is a grid-based alternative/extension to the Django administration interface.


https://github.com/sehmaschine/django-grappelli


django-admin-tools is a collection of extensions/tools for the default django administration interface, it includes:

a full featured and customizable dashboard;
a customizable menu bar;
tools to make admin theming easier.



https://bitbucket.org/izi/django-admin-tools/wiki/Home

[ add comment ] ( 5 views )   |  [ 0 trackbacks ]   |  permalink
python: signals 
On Wed, 15 Sep 2004, Kent Johnson wrote:

> If you return from the handler, processing will continue where it was
> interrupted. If you want to inspect the frame object in your handler, some
> information about it is available here:
> http://docs.python.org/ref/types.html#l2h-142
>
> For example, running this program in IDLE on MacOSX:
> #############################
> import signal
>
> done = 0
> def handler(signum, frame):
> print frame
> print dir(frame)
> print 'Signal handler called with signal', signum
> global done
> done = 1
>
> # Set the signal handler and an alarm
> signal.signal(signal.SIGALRM, handler)
> signal.alarm(3)
>
> print "Looping"
> while not done:
> pass
>
> print "Out of loop"
>
> signal.alarm(0) # Disable the alarm
>
> print "Done"
> ##############################3
>
> gives this output:
> >>> ================================ RESTART ================================
> >>>
> Looping
> <frame object at 0x4fd6c0>
> ['__class__', '__delattr__', '__doc__', '__getattribute__', '__hash__',
> '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__',
> '__setattr__', '__str__', 'f_back', 'f_builtins', 'f_code',
> 'f_exc_traceback', 'f_exc_type', 'f_exc_value', 'f_globals', 'f_lasti',
> 'f_lineno', 'f_locals', 'f_restricted', 'f_trace']
> Signal handler called with signal 14
> Out of loop
> Done
> >>>
>
> Kent
>


[ add comment ] ( 7 views )   |  [ 0 trackbacks ]   |  permalink
Django - Overriding save() method in Model 
http://stackoverflow.com/questions/4574 ... d-in-model

[ add comment ] ( 5 views )   |  [ 0 trackbacks ]   |  permalink
Satanism in the Industry (Music, Hollywood, Illuminati, NWO)  


[ add comment ] ( 5 views )   |  [ 0 trackbacks ]   |  permalink
Peter Stanek - Globálna kríza a kontrolovaná spoločnosť  


[ add comment ] ( 5 views )   |  [ 0 trackbacks ]   |  permalink
Can you feel it?! 


[ add comment ] ( 6 views )   |  [ 0 trackbacks ]   |  permalink
links 
http://electricalengineering18.blogspot ... dback.html
http://www.uni-bonn.de/~uzs159/vco4069.html
http://www.youtube.com/watch?NR=1&v ... =endscreen

[ add comment ] ( 5 views )   |  [ 0 trackbacks ]   |  permalink
Introduction to Electronic Circuits by Prof.S.C.Dutta roy 
http://www.youtube.com/playlist?list=PLC6210462711083C4
http://www.youtube.com/playlist?list=PL2D75EC7EC87B37E0

[ add comment ] ( 4 views )   |  [ 0 trackbacks ]   |  permalink
CSS Hacks: How to keep footers at the bottom of the page, Vertical Centering With Css 
http://matthewjamestaylor.com/blog/keep ... f-the-page
http://blog.themeforest.net/tutorials/v ... -with-css/
http://www.cssplay.co.uk/layouts/background.html
http://css-tricks.com/how-to-resizeable ... und-image/

[ add comment ] ( 4 views )   |  [ 0 trackbacks ]   |  permalink

<<First <Back | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Next> Last>>