Re: Deployment hesitation after James Bennett's post, WSGI or ...?

2010-06-25 Thread lzantal
have time, that is :-) I sure will once I get around it and get some free time:) I can also use a write up for my own documentation so it will happen for sure. I am running a satchmo store with 4300+ product on it using virtualenv. lzantal -- You received this message because you are sub

Re: Deployment hesitation after James Bennett's post, WSGI or ...?

2010-06-24 Thread lzantal
it lzantal On Jun 24, 2010, at 2:54, Dave E wrote: I'm about to enter my first deployment learning curve, but after reading James Bennett's post 'Let’s talk about WSGI' (http://www.b- list.org/weblog/2009/aug/10/wsgi/) and further procrastinating by reading through a who

Re: Deploying Django with mod_wsgi

2010-06-19 Thread lzantal
Hi On Jun 19, 2010, at 20:20, Graham Dumpleton wrote: On Jun 20, 1:08 pm, lzantal wrote: Hi, If you add your project due to the sys.path then don't add the project name to os.environ['DJANGO_SETTINGS_MODULE'] = 'ash.settings' just add settings. Which ca

Re: Deploying Django with mod_wsgi

2010-06-19 Thread lzantal
Hi, If you add your project due to the sys.path then don't add the project name to os.environ['DJANGO_SETTINGS_MODULE'] = 'ash.settings' just add settings. hope it helps lzantal On Jun 19, 2010, at 19:48, commonzenpython wrote: thanks, i have seen the erro

Re: How to lay out large, *modular* website in Django.

2009-11-17 Thread lzantal
different groups. hope it helps lzantal http://twitter.com/lzantal On Nov 17, 2:54 am, zimnyx wrote: > Guys, > > I'm trying to lay out Django code for large "website", which consists > of four subsytems: > - employees' website > - statistics website used also by em

Re: Can I change the title of an admin page?

2009-11-17 Thread lzantal
e the title section. lzantal http://twitter.com/lzantal On Nov 17, 6:46 am, Zeynel wrote: > Ok, thanks. I read the "overriding admin templates" section. I want to > learn Django's template system and all these files are confusing to > me, but eventually I'll get i

Re: Can I change the title of an admin page?

2009-11-16 Thread lzantal
Hi, In your templates/wkw1/lawyer dir extend change_list.html and override the title:: {% extends "admin/change_list.html" %} {% block content_title %}Your Title Here{% endblock %} Hope it helps lzantal http://twitter.com/lzantal On Nov 16, 5:31 pm, Zeynel wrote: > RIDER 2: &g

Re: Save model as new record in db

2009-09-07 Thread lzantal
Hi, On Sep 7, 3:14 am, Jarek Zgoda wrote: > Wiadomość napisana w dniu 2009-09-07, o godz. 11:11, przez lzantal: > > > I need to save_as in the model of my app So I can save existing > > records as new ones. > > I know there is an option in modeladmin but I don't ha

Save model as new record in db

2009-09-07 Thread lzantal
k you lzantal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django

Re: Proxy model only shows for superuser

2009-08-08 Thread lzantal
On Aug 7, 12:31 pm, lzantal wrote: > Hi, > > I have a Client model and I created a BrokerClient model as a proxy of > client > class Client(models.Model): >     ... > > class BrokerClient(Client): >     class Meta: >         proxy = True > > Now in admin th

Re: how to deploy Django on the web server?

2009-08-07 Thread lzantal
their control panel hope that helps lzantal http://twitter.com/lzantal > justinjo...@googlemail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Proxy model only shows for superuser

2009-08-07 Thread lzantal
to a user but not make it to superuser and BrokerClient did not show up in admin. But as soon as I make this new user with all the permissions a super user it shows up. Very strange. Thank you for all the help lzantal http://twitter.com/lzantal

How do you layout your django project

2009-07-08 Thread lzantal
installed the filebrowser app and it did not work until I added my projectname to filebrowser imports. Eg.: import filebrowser.fb_settings I had to change to djangoproject.filebrowser.fb_settings I hope it makes sense. Thank you for all the help in advance lzantal http://twitter.com/lzantal http

Re: Coding for arbitrary additional fields of a certain type

2009-06-27 Thread lzantal
e for this kind of scheme, or a standard way of > handling it? > > Thanks, > > Daniele > I had a similar need a few months ago. What I did is I stored those info in a database in ini format. So after running the query I parsed it as an ini conf data. It works great. Hope that helps

Re: django apps that implement ticket filtering?

2009-06-25 Thread lzantal
Hi, You could submit all the filters from an html form and in your view function loop through the request.Post and build the queries if the Post value is not empty.Using django.db.models.Q Laszlo Antal http://www.antalconsulting.com Office: 208-699-7508 On Jun 25, 2009, at 2:32 PM, Margie

Rename and Regroup apps in admin dashboard

2009-04-30 Thread lzantal
Hi, I have a very unusual need. (long post) I am developing an e-store with satchmo. It fits all my needs but I need to rename and regroup the apps in admin view. Eg: It keeps customer/supplier info in Contact App, I would like to rename it to Customer and Supplier and move them into there own ma