Thank you Paul. I will use those tools.
I also plan to replace to some ORM queries by raw sql to avoid performance
impact of cloning and multi db enhancements.
On Tuesday, August 21, 2012 7:42:26 AM UTC-7, Paul Backhouse wrote:
>
> On Tue, 2012-08-21 at 07:30 -0700, ydjango
I have typical LAMP stack application. I use ORM very heavily. I recently
migrated from django 1.1 to django 1.3.1.
Application has become very slow even though I have doubled the hardware.
Two major changes have been:
1) I have moved database (mysql) to different server
2) I have migrated djan
But user is logged in and authenticated. His other requests in same session
has user and group. Why would few ajax calls not have it?
On Sunday, July 22, 2012 4:39:21 PM UTC-7, Russell Keith-Magee wrote:
>
> On Mon, Jul 23, 2012 at 5:30 AM, ydjango wrote:
> >
> >
> >
[Django] ERROR (EXTERNAL IP): Internal Server Error:
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py",
line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/ubuntu/webapps/myapp/core/views.py", line 7048, in loa
Few ajax calls are very slow to return. The ajax call basically queries
data from mutiple tables ( using Django ORM), create an XML using LXML and
returns the XML.
What is the best way to measure where the performance bottleneck is?
I think it is DB access. LXML is the fastest XML library in py
I did google search on "optimistic locking". Most discussion are very old.
Has Django added any features to support it or what are folks generally
doing?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visi
a way to acquire a lock which can
serialize any other requests which have same "a" and "b" values?
On Friday, June 22, 2012 7:52:49 AM UTC-7, Daniel Roseman wrote:
>
> On Friday, 22 June 2012 06:23:32 UTC+1, ydjango wrote:
>>
>> I have code as
>>
>&
I have code as
view_a(request):
Populate my_a, my_b and my_c...
try:
tp = TP.objects.get(a__exact = my_a, b__exact = my_b)
except TP.DoesNotExist, e:
tp = TP()
tp.a = my_a
tp.b = my_b
tp.c = my_c
tp.save()
else:
tp.c = my_c
tp.save()
This view
>From 1.2 release notes (backward incompatible change):
"Much of the validation work for ModelForms has been moved down to the
model level. As a result, the first time you call
ModelForm.is_valid(), access ModelForm.errors or otherwise trigger
form validation, your model will be cleaned in-place. T
What is best way to allow users to enter decimal either as "." or as
",'?
Currently if user enter "," django forms throw error.
I cannot change settings file based on user as same app serves users
worldwide.
--
You received this message because you are subscribed to the Google Groups
"Django us
A year or so (may be more) back when I looked at Django Gigs and there
were quite a lot of gigs( I mean in 100s). After a while I checked
again today just to see how the market is doing and I see very few
jobs on django gigs.
What happened, what changed?
--
You received this message because you
:42 pm, ydjango wrote:
> How can I trace SQL issued by orm and time taken in ajax requests?
> Django-debug-toolbar does not work for ajax requests.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
How can I trace SQL issued by orm and time taken in ajax requests?
Django-debug-toolbar does not work for ajax requests.
--
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 unsub
Django-orm looks very useful. Any high DB traffic site using it in
production?
How mature is it?
On Jan 15, 12:06 pm, Daniel Gerzo wrote:
> On 15.1.2012 3:36, ydjango wrote:
>
> > Any updates on MySQL connection pool for django. Has anyone
> > implemented it yet and willing to
Any updates on MySQL connection pool for django. Has anyone
implemented it yet and willing to share?
Graham Dumpleton also raised it in G+ today.
On Nov 20 2011, 5:45 am, Jonathan wrote:
> Does anyone know if this progressed anywhere since '09?
--
You received this message because you are subsc
gt;> "apt". LAMP server stuff is readily available on all distros of Linux.
> >>> If you're hardcore then use Gentoo. If you're medium-core then use
> >>> Debian. If you're softcore then use Ubuntu. If you like RedHat style
> >>>
I have all my static being served from https://www.example.com/media/
in my code I have all images pointing to /media all over the code.
for example:
Is there a way I can point it to use S3 and cloudfront to serve the
static files.
My understanding is that I cannot use CNAME. If I was using
med
I am setting up nginex, apache, python django, mysql based application
on EC2. I expect high web traffic and high mysql query usage. Mysql
and web server will on seperate servers.
Which linux distro should I use for heavy production use - Ubuntu,
Centos or Debian?
Does it matter?
I see most inst
What do you think?
http://www.cringely.com/2011/10/the-second-coming-of-java/
"When SSDs gain enough capacity there will be a shift from the Ruby
world back to the Java world. Not for prototyping, because, well, it’s
prototyping. But simply because the statement “Ruby is incredibly slow
but I don
Thank you. That was exactly the issue. I renamed the local variable.
On Jul 20, 2:04 pm, Ian Clelland wrote:
> On Wed, Jul 20, 2011 at 1:14 PM, ydjango wrote:
> > Occasionally I see this error in my app,
>
> > UnboundLocalError: local variable 'settings' refe
Occasionally I see this error in my app,
UnboundLocalError: local variable 'settings' referenced before
assignment
I have in my views .py
from django.conf import settings
other imports...
def new_view(request):
if not request.user.is_authenticated():
return HttpResponseR
Just checking if anyone has any pointers?
We are using Django 1.1.4
On Jun 15, 2:03 pm, ydjango wrote:
> I have rich text (in utf8) which I want to show in standard browser
> tooltip.
>
> I strip html tags using strip_tags as they show as html tags in
> tooltip.
>
> I
I have rich text (in utf8) which I want to show in standard browser
tooltip.
I strip html tags using strip_tags as they show as html tags in
tooltip.
Issue is that it seems strip_tags is stripping or converting certain
turkish characters like ü into weird special chars?
I am unable to use dja
It seems strip_tags is stripping or converting certain turkish
characters like ü into weird special chars?
I have rich text which I want to show in tooltop.
I strip html tags using strip_tags as default browser tooltip show
html tags as tags. I am unable to use django template safe tag as data
I am thinking of creating a virtualized image of my complete django
app with mysql so that I can clone/copy it on developers, qa and demo
laptops. That way I do not have to do greenfield install on each
developer computer which can take many hours.
Any suggestions on what should I use - 1) vmware
or was it because of
modPython issues.
On May 17, 2:56 pm, Jacob Kaplan-Moss wrote:
> On Tue, May 17, 2011 at 4:15 PM, ydjango wrote:
> > I am using Python 2.5, django 1.1 with mod_wsgi 2.5
>
> > Does it matter if I use prefork or worker MPM for apache?
>
> In gener
I am using Python 2.5, django 1.1 with mod_wsgi 2.5
Does it matter if I use prefork or worker MPM for apache?
Which one is recommended for production use?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dja
Is there a way to identify which queries use cloning?
Is there a way rewrite those queries to avoid cloning overhead?
(If many of the queries use cloning then migrating one of my django
apps to 1.2.x may not be right for me.)
On Apr 25, 9:39 am, djeff wrote:
> Russ,
>
> Thanks for the response
Thanks Mike, I will use what you suggested as interim step and to
automate my own processes.
I want to provide it as shrink wrapped downloadable software that
customer can install via guided install.
And I do not want provide the source code.
What would be the best way to do it? - Any tools that
I have a batch process which reads a text file and loads mysql DB
tables. I see following error occasionally in log files. Finding it
hard to trace but working on it.
This app is on older Django 1.1.2. Has something like this encountered
or fixed since then. Any clues.
Error is "Enter a valid date
Is there a package or easy way to create an installer to auto install
apache, django, mysql based web app?
There could be some manual steps like installing mysql and providing
setup screens to enter connection data to mysql and mail server.
I would want to at minimum, when installer is run by user
Two users A & B are both viewing same page and data from two
different locations via browser.
User A start making changes to data on Page. For user B that piece of
data gets locked (ie he cannot change it till user A is done).
User A finishes making changes. User B's page auto refreshes to
refle
I need to install a nginx(optional), Linux, Apache, Django 1.2,
python2.6 env and Mysql on EC2 and ESB.
Can you please point to any recent instructions on how to install on
amazon 2 and which images to use?
How has your experience been so far?
--
You received this message because you are subs
I see this project is an old project http://code.google.com/p/django-voting/
Not sure if it is actively maintained anymore. is this the one I
should look into using or is there a newer one that super seeded this
app.
--
You received this message because you are subscribed to the Google Groups
"
How can I have "user defined fields" ( not field types).
So user will define some custom fields (with standard types) and it
will be shown and available to all members of his group on screens and
forms.
--
You received this message because you are subscribed to the Google Groups
"Django users
[Errno 2] No such file or directory: '/home/xyz/webapps/prodxyz/temp/
tmpn2C5Lk.upload'
I see it in logs. Any clue what this error could mean or be related to?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
. Performance is not.
On Mar 1, 3:11 am, Ankit Rai wrote:
> I am not getting what is difference between the 1 & 2?Can anyone tell me the
> difference
>
>
>
> On Tue, Mar 1, 2011 at 9:16 AM, ydjango wrote:
> > class Article(models.Model):
> > author = mode
class Article(models.Model):
author = models.ForeignKey(Author)
title = models.CharField(max_length = 100)
(assume an article can have only one author)
article = Article.objects.get(title="Django is awesome)
if I need only author id, I can access author id as 1)
article.author_id or 2) a
Hebrew is within the unicode range 0x590 to 0x5ff.
I tried
if lang_string[0] >= u'0x590' and lang_string[0] <= u'0x5ff':
but it does not seem to work.
How do I check if lang_string is in Hebrew or not. Using Python 2.5,
Django 1.2
--
You received this message because you are subscribed to the
try http://www.agilewrap.com
written in Django. It is commercial tool but Free for open source and
non profit. Also free for up to 5 users for commercial orgs.
On Dec 3, 1:21 pm, tiemonster wrote:
> I've done the initial checkin under LGPL license as agreed. Anyone
> that is interested in cont
http://www.python.org/dev/peps/pep-0371/
I am aware this is a Django forum not python. But many python experts
are on this forum, so I though I would ask.
When would you use Python (2.6) threading module or multiprocessing
module?
It seems in general python multiprocessing module should be prefe
I have added following to cache some common DB data and it seems it
has started caching whole pages by default. Some pages appeared to be
retrieved from cache without even hitting the view.
I am using
CACHE_BACKEND = 'locmem://'
following middleware in following order
'django.middleware.cache.U
Django debug and django debug tool bar are not capturing the django
ORM calls made from the views which are called via AJAX calls in the
page . Is there any way to profile these sqls and times ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
I am stacking filters on queryset. For some reason the second filter
in stack is not applying and it is not giving any error either. Any
way to debug what is going on?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
How to suppress invalid_choice validation error for choicefield
-"Select a valid choice. That choice
is not one of ..." ?
I am using a client side combo box where user can either select from
the choices or add a new value. For new value Django - ChoiceField
give invalid_choice validation error.
How to customizing and suppressing "Select a valid choice. That choice
is not one of ..." error?
I have two requirements:
1) for some select drop downs, I want to customize the message
"Select a valid choice. That choice is not one of ..."
to
"Select a valid choice for field ABC. 12 choice is
I am using a 3rd party javascript library with some custom components
like combo box.
I want to use this 3rd party combo box instead of the default combo
box that
django forms modelchoicefield(widget= forms.select(...),...)
displays.
I guess I will have to create another widget replace widget=
f
On Sat, Aug 14, 2010 at 1:28 PM, ydjango wrote:
> > I have a online user initiated synchronous process which runs anywhere
> > between 1-5 minutes and gives user status message at the end. It is a
> > very DB intensive process that reads and updates lots of mysql rows
> >
I have a online user initiated synchronous process which runs anywhere
between 1-5 minutes and gives user status message at the end. It is a
very DB intensive process that reads and updates lots of mysql rows
and does many calculations. The process is run as part of a view
method.
It causes nginx
I need a reporting library for web based (HTML) reporting with support
for standard features
1) header
2) footer
3) pagination
4) Totals/summary
Reportlab is too low level for my needs and their pro version license
does not work for me.
Is there any other good python based reporting library.
My
I have
class NewEventForm(ModelForm):
Event_name = forms.CharField(label='Event
Name*',widget=forms.TextInput(attrs={'size':'82','maxlength':'100','tabindex':'1'}),error_messages={'required':'!
You must enter Event Name.'})
description=forms.CharField(label='Event Description*',
widget=Ti
I tried {{labels.forloop.counter0}} . It did not work. where labels
is a list.
--
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 unsubscribe from this group, send email to
dj
I want to display
label1field1 field2
label2field1 field2
label3field1 field2
I have form with two fields - field1 and field2 and a formset
(where field1 and field2 are say text fields.)
in views.py:
--
labels = ['label1', 'label2', 'label3']
formset = MyFormSet()
re
aham
>
> On Jul 13, 11:52 am, ydjango wrote:
>
> > Just checking, if anyone can point me to a good solution to it. Or
> > logging to sockets as in official doc is the best solution.
>
> > On Jul 11, 9:35 am, ydjango wrote:
>
> > > Python logging has know limi
to stderr and thus the Apache error
> log files?
>
> Graham
>
> On Jul 13, 11:52 am, ydjango wrote:
>
> > Just checking, if anyone can point me to a good solution to it. Or
> > logging to sockets as in official doc is the best solution.
>
> > On Jul 11, 9:35 am,
Just checking, if anyone can point me to a good solution to it. Or
logging to sockets as in official doc is the best solution.
On Jul 11, 9:35 am, ydjango wrote:
> Python logging has know limitation with multiple processes logging to
> same file.
> (I am using rotatingfilehandler.)
>
Python logging has know limitation with multiple processes logging to
same file.
(I am using rotatingfilehandler.)
Which in case of prefork MPM will always be an issue and can be an
issue for worker mpm as well?
Python doc recommends logging to sockets.
What workarounds are you using and can re
Is there a reason why Django does auto save to DB in following stmts?
Any way to tell it not to auto save to db?
examples,
where publications and articles are many to many..
a_publication.articles = [article11]
or
request.user.groups = [group1]
On Jul 9, 5:06 pm, zweb wrote:
> Assume there i
I find all my view method have identical code in start and in end:
anyway to avoid repetition...?
Example:
def typical_view_method(request):
Check if user is authenticated.
Get user and group
Get some session variables
try:
Method specific logic
except Exception, e:
I have an ajax request coming in like this
http://localhost:8000/board/getnames?age=31&sex=1
I cannot change it to http://localhost:8000/board/getnames/31/1
1) what would be the url pattern to use in urls.py?
2) what would be view method - def getname(request, age = None, sex =
None):
--
You
I have two query sets with two different where clauses on same table
and same columns in select. Is it possible to have their union.
I tried qryset = qryset1 + qryset2
It gave me - "+ unsupported operand"
--
You received this message because you are subscribed to the Google Groups
"Django user
I have two query sets with two different where clause on same table
and same columns. Is it possible to have their union.
I tried qryset = qryset1 + qryset2 - It gave me - "+ unsupported
argument"
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
I have a website running on www.mydomain.com. It is not a django site.
It has a registration page which is not a django template/form.
I have django app running on app.mydomain.com
I want the registration page on www.domain.com to use django views and
models on app.mydomain.com to save registrati
http://www.frontpageslideshow.net/
Anyone knows equivalent plugin of above which I can use in python/
django site.
The plugin above is in jquery and php.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django user
For some at intermediate level in Django and basic level in Python
( learned Python thru django) which would be better book for next
reading Practical Django Projects by James Bennet or Pro Django by
Marty Alchin.
--~--~-~--~~~---~--~~
You received this messag
Using pytz I was easily able to display the list of all the timezone
and convert between them. Though pytz does not have GMT+-X as part of
the timezone list.
Similarly, is there a module/app with countries and states within
country available to use in address drop downs?
--~--~-~--~
Django makes uploading files very simple ( like pretty much everything
else. Django never ceases to amaze me.)
Once files have been uploaded on server, I want to be able to show the
url to those files on upload page so that users can access the
uploaded files.
1) Is a folder in site_media the be
I am planning to set TIME_ZONE = 'UTC' in settings.py. This will, to
my understanding, store all date time in MYSQL db in utc. I do not
have to do anything on MYSQL side.
To display I plan to use pytz to convert utc date and date times to
user's timezone. I already have the user's timezone in pyt
I have two django based websites and I want show pages from one
website in another. Is Iframe the best way to do it or is there some
other better. I read somewhere that Iframes should be avoided but
never got any good reasons why?
--~--~-~--~~~---~--~~
You receive
What is the best way to provide multiple Time zone support?
The registered user visiting the website should see all times and
dates as per his/her time zone and not as per time zone in
settings.py?
We will keep user's time zone in our database. Dates and times will be
stored in Mysql DB and I t
How do I find which version of django I have on my server?
--~--~-~--~~~---~--~~
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 t
09-02-11 at 19:50 -0800, ydjango wrote:
> > Thanks, I will read the documentation.
> > Hopefully it will tell me how to differentiate between user who logged
> > out because they clicked on logout and users who got logged out
> > because of inactivity and expiry.
>
> There is
800, ydjango wrote:
> > Ok , so timeout happens on browser (client ) side, then i need to
> > figure out some javascript to do detect that.
>
> No, you don't.
>
>
>
> > I was hoping in django there is way to detect that no session cookie
> > was sent or se
Ok , so timeout happens on browser (client ) side, then i need to
figure out some javascript to do detect that.
I was hoping in django there is way to detect that no session cookie
was sent or session cookie is expired and then redirect to a page
with message " For your security, you have been
:07 pm, ydjango wrote:
> I am setting inactivity session time out using -
> a) request.session.set_expiry(900) and
> b) SESSION_COOKIE_AGE = 900
>
> I believe both work exactly the same way. Please correct me if they
> have any different behavior.
>
> How do I
I am setting inactivity session time out using -
a) request.session.set_expiry(900) and
b) SESSION_COOKIE_AGE = 900
I believe both work exactly the same way. Please correct me if they
have any different behavior.
How do I detect this time out in my app and give user a page that th
Is anyone hosting their Django based site with Mysql db on Amazon ec2?
How has been your experience in terms of
1) Cost (pay for what you use versus dedicated server model).
2) Scaling
3) Maintenance effort needed
4) Load balancing and fail over
5) Reliability
--~--~-~--~~--
has anyone used Blue Print css?
I have used YUI grids, yui is good, but I am having my share of
problems with it. As soon as I need to float something, or add margins
or padding, Yui grids go crazy?
There has to be an easier solution than YUI grids for a 3 column
layout.
--~--~-~--~~
Thanks I will look into that.
I am thinking may decorators can also help.
having 2 html forms on one page is turning out to be very tricky.
On Jan 4, 3:16 pm, Justin Myers wrote:
> It sounds like you're after a custom template
> tag:http://docs.djangoproject.com/en/dev/howto/custom-template-
:44 am, ydjango <[EMAIL PROTECTED]> wrote:
> I do not see the name of submit button in request.POST. it has all
> other form fields
>
> if request.POST.has_key('save'):
> does not work too
>
> Where can I find which button was pressed.
>
>
&g
I do not see the name of submit button in request.POST. it has all
other form fields
if request.POST.has_key('save'):
does not work too
Where can I find which button was pressed.
various fields...
other input buttons
--~--~-~--~~~---~--~~
You received
-+
| fish | 1 | lax |
| mammal | 1 | dog |
| mammal | 2 | cat |
| mammal | 3 | whale |
| bird | 1 | penguin |
| bird | 2 | ostrich |
+++-+
On Aug 31, 6:21 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Sun, Aug
How to implement following create table (mysql) using django model.
CREATE TABLE account_transaction (
account_id INT NOT NULL,
acct_trans_number INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY (account_id,acct_trans_number)
);
The above is mysql script. Acct_trans_number has to be unique and
seque
I want to let users configure some of the words they see on screens:
Like default is employee, But some users may want to see word "
associate" instead of "employee".
another example is "division" and some users want to see word "
Business unit" or "group instead of default "division"
and I want
Field(default=datetime.datetime.now)
> author = models.ForeignKey(User)
>
> Erik
>
> On 29.08.2008, at 9:10, ydjango wrote:
>
>
>
> > I need to create sequences and use them during runtime in django orm
> > code. Mysql does not support external sequence.
> > sequence
I need to create sequences and use them during runtime in django orm
code. Mysql does not support external sequence.
sequence name will be dynamically generated.
I already have default id auto-increment fields in all tables, but
this sequence which i need is not table level, so autofield will not
Use initial, where 1 is my db key,
field1 = forms.ModelChoiceField(..., initial=1,...)
On Aug 25, 4:38 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using theModelChoiceFieldto provide a filtered set of choices
> on a profile form and I was wondering how I can set the initial
Does django marks the user changed fields in form dirty in any way?
old versus new or a flag maybe.
Is there an easy way to check which fields user changed in form
submission or
do I need to save previous values in request and then compare each
field.
--~--~-~--~~~-
http://store1.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1557518
I know most people in this list are direct html coders(ie. no wysiwyg)
but still checking if anyone has tried this extension and their
experience so far.
--~--~-~--~~~--
adding to it.
earlier I could do unassigned_contacts.count()
now I get error "Cannot add count col with multiple cols in 'select'"
On May 16, 8:15 pm, ydjango <[EMAIL PROTECTED]> wrote:
> In qryset refactor branch would the output of following cha
In qryset refactor branch would the output of following changed?
unassigned_contacts = Contacts.values('id','last_name',
'first_name').filter(group__exact=my_group).exclude(pk__in=assignedparts)
where assignedpart=[] and then loaded before the the above statement
--~--~-~--~~
6, 2008 at 11:52 AM, ydjango <[EMAIL PROTECTED]> wrote:
> > I do not want to make it easy for some one who breaks in , either a
> > outsider or may be an rougue hosting provider employee or contractor,
> > to easily get access to all the information - data and code.
>
> Again
am, jonknee <[EMAIL PROTECTED]> wrote:
> On May 16, 6:02 am, ydjango <[EMAIL PROTECTED]> wrote:
>
> > I have propriety commercial code and some formula/ algo
> > implementations which I do not want to expose.
> > Hence I do not want to upload .py source files
>
Yes, that was another thing on my mind, how to encrypt password in
settings.py
On May 16, 3:20 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Fri, May 16, 2008 at 5:02 AM, ydjango <[EMAIL PROTECTED]> wrote:
> > I have propriety commercial code and some fo
I have propriety commercial code and some formula/ algo
implementations which I do not want to expose.
Hence I do not want to upload .py source files
Is rewriting that business logic in a compiled langauge only way out?
how do I call it from python, Using web services?
Ashish
On May 15, 2:51
I installed my app to webfaction
I am getting this error on many of my pages, these pages are data
entry pages with dropdowns with ModelChoiceFields.
Any clue how can I find what is causing this error.
I added data to all the tables which are linked to ModelChoiceFields.
My database in settings
Hi,
I am developing on python 2.4.4 and django svn branch.
I want to upload to webfaction which if I ssh and run python is python
2.4.3.
Application installed is Django trunk/mod python 3.3.1/ python 2.5
I want to upload only .pyc and no source files. Whats the best way to
make sure my .pyc wor
I have modelchoicefield which I populate using
form.fields['owner'].queryset =
Owner.objects.filter(group__exact=my_group)
It shows me list of all owners as expected in dropdown.
I want the drop down to show one extra choice of "ALL" which is not a
value in the table.
How can i do this without
Is there a application level logging framework/utility in django or
python that I can use in views to log to file and/or database.
Something similar to log4j in java.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
> wrote:
> It looks like you have it there in your snippet, you just need to
> define your 'selected_a' var. Maybe something like:
>
> if 'a1' in kwargs:
> selected_a = kwargs['a1']
>
> Then set your b1 choices based on the group and optiona
1 - 100 of 131 matches
Mail list logo