Oh I saw that you fixed it recently. Thank you anyway :)
On Sunday, February 4, 2018 at 1:22:58 AM UTC+1, Andrew Godwin wrote:
>
> Hi John,
>
> This is fixed in the asgiref master branch, I should be releasing it soon.
>
> Andrew
>
> On Sat, Feb 3, 2018 at 4:14 PM, John
Hi everyone,
I am trying to send a channels message from a django signal. The problem
ist that the signal function is not async. So I tried to use the
AsyncToSync wrapper.
But it seems this is not possible as the signal handler is run by a thread
and has no event loop.
...
self.main_event_
>
> I'll have a lot more docs and stuff coming soon as I start prepping
> Channels 2 for a beta release, which will include routing and setup
> examples.
>
> Andrew
>
> On Fri, Dec 1, 2017 at 6:03 AM, John Wayne > wrote:
>
>> Hi everyone,
>>
>> I am
Hi everyone,
I am stuck getting the new channels 2 to a working state. I installed
django==2.0rc1, and channels==2.0.x, daphne==2.0.x, asgiref==2.0.x from
the git repo
channels is enabled inside the settings.py. I also created the asgi.py file
in the direcotry of the wsgi.py file acording to t
llin
>
> On Tuesday, December 23, 2014 5:18:49 PM UTC-6, Ken Wayne wrote:
>>
>> Hmmm, that is one of the directories I tried,
>> C:\Python34\Scripts\mysite\templates\admin with the file base_site.html
>>
>> On 12/23/2014 5:07 PM, Néstor wrote:
>>
>
/polls/index.html
That is how I got it to work. Good luck!!!
:-)
On Tue, Dec 23, 2014 at 2:13 PM, Ken Wayne <mailto:ecommg...@gmail.com>> wrote:
Windows 8
Django 1.7.1
Python 3.4.2
Google Chrome Version 39.0.2171.95 m
Bottom of part 2 of the the tutorial
Windows 8
Django 1.7.1
Python 3.4.2
Google Chrome Version 39.0.2171.95 m
Bottom of part 2 of the the
tutorial https://docs.djangoproject.com/en/1.7/intro/tutorial02/ it
indicates how to customize the admin template but when I follow the
directions it doesn't show any change in my browser. I've
I'm trying to work through the Poll Tutorial and I've run into some
problems. I'd like to compare the code I've written to a working file. Is
there any place to download the entire working project?
--
You received this message because you are subscribed to the Google Groups
"Django users" gr
Fred,
Got it!! Thank you!!
- Leonard
On Sunday, November 9, 2014 5:46:30 PM UTC-5, Leonard Wayne wrote:
>
> I am in the process of upgrading from
> Django 1.6 to 1.7.
>
> I have three fixtures. I am trying to figure
> out how I should load them.
>
> One fixture is `i
I am in the process of upgrading from
Django 1.6 to 1.7.
I have three fixtures. I am trying to figure
out how I should load them.
One fixture is `initial_data.json`, and I know
that starting with Django 1.7 this special
fixture no longer gets automatically loaded
as it did when we used to run `s
A neat new tool to edit .po files ( gettext ) is http://poeditor.com/. It’s
online, free and very easy to use. It also permits collaborative work and
imports from multiple files.
On Saturday, June 20, 2009 12:05:08 AM UTC+3, Joshua Russo wrote:
>
> I started using PoEdit but it seems to thing
This is the same as the FileField. The UploadedFile class has a name
property, which can be used..
https://docs.djangoproject.com/en/dev/topics/http/file-uploads/#handling-uploaded-files
On Jan 19, 9:56 am, Mike Dewhirst wrote:
> How do I get the actual filename of the uploaded image?
>
> The
Hi all, I'm new to this and could use some help,
I'm implementing a large-ish form-based application for an ongoing
academic project. As students come and go, the form fields change
frequently, so I'm wary to have form fields map to database entries.
Does anyone have a good idea of how to store th
; (not
necessarily a Django session), besides putting all the data in the
session dictionary, then I'd be happy to hear them. Thanks
On Sep 28, 10:46 pm, Michael Wayne Goodman
wrote:
> Hi, I'm getting the following error when I try to assign a value to a
> model attribute in a modelfo
Hi, I'm getting the following error when I try to assign a value to a
model attribute in a modelformset:
AttributeError at /number/
'WSGIRequest' object has no attribute 'qsession'
which occurs in the following snippet:
numbers = formset.save(commit=False)
for number in n
our code is doing and such--your use of
a primary key makes me think (but doesn't guarantee) that you are
using a form to represent an instance of a model, and if so, you want
to be looking there.
Wayne
--
You received this message because you are subscribed to the Google Groups
&quo
dicate to me that you are dealing with existing objects
from models, in which case we should be talking about a ModelFormset.
Wayne
--
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@googleg
s of the form during initialization.
What parameter is that? You should be able to accomplish what you
describe without any Javascript, just like the code does at the link
you provide.
Wayne
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
of code (field, widget,
etc.?) to do on my own in order to enable this functionality. I still
would appreciate it if you could try the validator at webaim and see
if you can replicate the error I see there (multiple lables for an
input; the default as you describe it), as I am most interest
On Aug 15, 2:40 pm, octopusgrabbus wrote:
> I get a file permissions error, and this is running on Apache.
>
> It's dying on the retrbinary line. However, it's logging in using
> valid user names and passwords, so I'm confused as to why it's dying.
Yes, but it looks as though you are passing a ca
What error exactly do you get? Do you encounter this error while
using runserver, or is it live on a web server (Apache et al)?
--
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.
re is a
"better" (read: solution that doesn't require me writing the html)
solution or a specific class/method to override that will correct this
behavior. Or am I missing something else about this entirely?
Thanks,
Wayne
--
You received this message because you are subscribed to th
Hi all,
I looked into Django for a specific task, but before I get too deep I
want to make sure it is possible. We already have a site that does
what we need (http://depts.washington.edu/uwcl/matrix/customize/
matrix.cgi), but it is written entirely in custom, proprietary code,
and it is getting d
that
by adding:
Alias /static/admin/
/home/wayne/programming/build/django-trunk/django/contrib/admin/media/
To my apache conf. However, when I logged into the admin interface after
registering polls, all I saw were: [image:
http://docs.djangoproject.com/en/dev/_images/ad
Thank you very much! I misunderstood the meaning of "date" and "the time of
day"...
On Fri, Jan 28, 2011 at 8:53 PM, Jirka Vejrazka wrote:
> > {{record.ComplaintTime|time:"Y-m-d
> > H:i"}}
>
> From the documentation:
>
> "The time filter will only accept parameters in the format string th
Hi all,
I have come across an error when I tried to format a datetime in a webpage.
This the part of webpage:
{% for record in records.object_list %}
{{record.ComplaintPhone}}
{{record.CustomerName}}
{{record.ComplaintTime|time:"Y-m-d
H:i"}}
{{record.Complai
{% include fieldset inline %}
{% endif %}
{% endfor %}
{% for inline_admin_formset in inline_admin_formsets %}
{% include inline_admin_formset.opts.template %}
{% endfor %}
HTH,
Wayne
--
You received this message because you are subscribed to the Google Groups
"Django users"
Well, the template is what controls the ordering of fields. You can create
your own template that Django will then use in the admin interface. From
there you can control exactly how things are displayed.
On Dec 11, 2010 1:30 PM, "mongoose" wrote:
> Hi wayne,
>
> to be hone
re code to write/upkeep.
That said, you can use the model method plan, and do the same thing.
I did it before when starting out, but now try to keep model methods
strictly those which modify the model, and rendering/display methods
in filters, since that is where the rendering happens.
Wayne
--
Y
e your form, you can pass in a 'queryset=' argument that will do
this for you.
Wayne
--
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
gt; }),
>
> inlines = [IngredientInline, PhotoInline]
>
> ('Cooking Instructions', {'fields': ['instructions']}),
> )
>
> Thanks a lot!
I'm not sure if there is an admin setting
On Wed, Dec 8, 2010 at 10:49 AM, JeffH wrote:
> So I'm working along, everything's humming fine. Then I try to add a
> record via the admin, and get the following:
>
> TemplateSyntaxError at /admin/expert/expertresponse/add/
> Caught AttributeError while rendering: 'unicode' object has no
> attri
It is important to distinguish between display and functionality with
forms. What I mean is, using the forms does not mean you have to render
(display) them the way Django has it set up by default. I always use the
Form API, and if I need custom validation on a field or the entire form, I
overrid
You want to use an aggregation function:
http://docs.djangoproject.com/en/dev/ref/models/querysets/#aggregation-functions
On Tue, Dec 7, 2010 at 11:14 AM, Jagdeep Singh Malhi <
singh.malh...@gmail.com> wrote:
> hi
>
> I want to use mysql Query :
> Select sum(field_name) FROM table_name WHERE s
>
> How does that look when you are building an object list in the Q( )...
> style format? Where I am hung up is finding syntax examples of how to
> do the functional equivalent of a sql where not exists clause.
>
> Is there a way to do this without using .extra() and using just normal
> django?
>
To fire off an action (method) after an object is saved, you want to listen
for its signal.
Check out http://docs.djangoproject.com/en/dev/topics/signals/
On Mon, Dec 6, 2010 at 11:28 PM, commonzenpython
wrote:
> hey guys, im trying to get a script to run, like a view after a user
> in the admi
>
> Thanks, that's fine, but I was wondering if there was a more scalable
> way. I have more fields than just "description", so it would be nice
> if they could be all saved with one method call, so I don't have to
> maintain this code in case I change the model.
>
>
If you have multiple fields des
On Mon, Dec 6, 2010 at 4:42 PM, bc wrote:
> Is there any simple way to use django authentication/authorization to
> control access to an existing (not django) cgi?
>
> I could use subprocess.Popen to invoke the cgi after checking
> authorization, but the environment needs to be set up to look lik
03:05 AM, Wayne Smith wrote:
> > It's hard to say, because I don't know what kind of "validation" or
> business
> > logic regarding it you are trying to accomplish/employ.
> >
>
>
> suppose I want a validation like this:
>
> the number
>
> Okay, honestly I believe it will be easier to go from scratch. However
> I'd still like to ask, since the idea of having an almost-done admin
> interface is very neat.
>
>
>
As the other reply indicates, that is a very tall order for a beginner. The
admin interface is functional for editing, b
> After the second form is done and valid, I would like to save the
> information that comes to it to Image, in the same row that has the id
> I was passing.
>
> How can I do this?
>
>
>
image.description = information user provided
image.save()
By the way, your overridden save() method looks a bi
On Mon, Dec 6, 2010 at 7:00 AM, Quetzacotl wrote:
> Hello, i want to make function that wraps all things related to
> comments, so there should be part that gets comments from database and
> part that checks if comment was added. Then i can simply write just
> one line of code in view where i wan
It's hard to say, because I don't know what kind of "validation" or business
logic regarding it you are trying to accomplish/employ.
However, if you are wanting to ensure you validate a foto during a gallery
save, why not call an overridden fotos.save() from your custom
galeria.save()?
On Sun, De
You might want to use some logic involving anonymous users. See here:
http://docs.djangoproject.com/en/dev/topics/auth/#anonymous-users
On Sun, Dec 5, 2010 at 2:29 PM, andy wrote:
> Well you don't have to make the foreign key field required, that way
> comments belonging to guest users can have
You can just add the html to your template (like ).
On Dec 5, 9:01 am, jc wrote:
> I need this codehttp://paste.pocoo.org/show/300846/to print a
> newline *before* each heading (essentially, wrapping it to the
> next line).
> Create another loop to do this or is there an easier way?
> Thanks,
>
Sure. Just override the clean method for the field, or the whole form if
you wish. The built-in "default" validation done by Django doesn't handle
any logic; it just makes sure the format and type of each field is
appropriate.
On Dec 4, 2010 1:44 PM, "refreegrata" wrote:
> ok, thanks for the ans
You shouldn't need to. How are you rendering your fields in your template?
On Dec 4, 2010 1:21 PM, "Patrick" wrote:
> I have 2 fields in my model:
> listing.name and listing.amount
>
> listing.name shows up in the template but listing.amount does not. Do
> I have to convert it to unicode first?
> So if a user enters mydomain.com/main1/page1 --> check if main1 exists
> in the database --> render a menu of all pages which are linked to
> main1 --> show page1
So, I take it that if the user enters the above, and main1 does not
exist in the db, then you will raise an error (probably 404)?
I
> I want to do something like:
>
> .default = MyModel.objects.get(field=True)
>
> and raise an exception if don't find in the table a row with a field =
> True, but I don't have idea if something like this can be done.
>
I'm not always real good at understanding what someone wants.
However, i
> I think the only thing that's bugging me is that you have to include
> the whole views.py in your url conf. Just feels less graceful than
> having the dispatcher nab what it needs on demand. I'll get over it.
>
Yeah, it does feel less graceful, doesn't it? That said, there might
be a way, I
On Dec 3, 2:47 pm, Andrew Willey wrote:
> Forgot to in mention the actual question from the subject.
>
> Is there a "blessed" way to use class-based views with named urls in
> the
>
> > url(r'^location/$', view='WouldLoveToHaveClassBasedView.as_view',
> > name='name_for_convenience')
>
Oh, I see
On Dec 3, 1:46 pm, Andrew Willey wrote:
> Can someone point me in the right direction here?
>
> How does one use class-based generic views and named URLs?
>
> Example (doesn't work):
>
> > urls.py
> > urlpatterns += patterns('myapp.views',
> > (r'^location/$', MyGenericView.as_view()),
> > )
On Dec 3, 11:59 am, refreegrata wrote:
> Ok, with hidden fields. But if the user manually, with some tool,
> change the value, thats will be a problem. For my safety I must to use
> the hidden fields and still keep the clean methods to overwrite any
> possible editing over the fields value. Origin
On Dec 3, 11:13 am, oscar widjaya wrote:
> It's for mysql
> it still does not work. I tried it with the following sql statement
> "SELECT * FROM project_project WHERE start_date LIKE '%s'" % '2010%%'
Well, I assume that the double % at the end of your query is
unintentional, as I don't think it
Are you seeing anything? I mean, is the rest of the template
rendering fine?
There are only two things that I notice: the extra dict you pass with
the template_object_name (why not put it in info_dict?), and while I'm
not fluent in spanish, are you iterating through the variable
'object_list'?
On Dec 3, 10:47 am, owidjaya wrote:
> It says incorrect date value.
>
What database are you using? I'm wondering if this is an issue of
formatting the sql correctly. Did you read the snippet near the
bottom of the page I linked to? Try:
SELECT * FROM some_table WHERE some_date LIKE "%s" % '
On Dec 3, 2:11 am, Rob wrote:
> I want to make main categories on my site like:
> /main1/page1
> /main2/page2
> /main3/page3
It sounds like you have 3 views, and each one can pick from a pool of
categories. If this is correct, all you need to do is enter a line
for each view (main#), and pass th
Turn autoescape off (http://docs.djangoproject.com/en/dev/ref/
templates/builtins/?from=olddocs#autoescape) or mark it as safe by
using the "safe" template filter tag (lower on the page).
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
You should be able to do it just as you mention, passing the query
string to cursor.execute().
See
http://docs.djangoproject.com/en/dev/topics/db/sql/#executing-custom-sql-directly
Have you tried this? Are you getting an error? If so, what is it?
--
You received this message because you are
-only (and not use them to manipulate data).
Wayne
--
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
django-user
Well, I'm guessing that what is displayed is what the unicode method
returns for the model that the ForeignKey points to (can't remember
for sure offhand, but I know that the admin interface works that
way). Of course, it might also be changing the display because you're
putting it in a TextField
On Dec 2, 4:40 am, muzhig wrote:
> Hi! I need to resize and make a stamp on uploaded images and only then
> save a model.
> I have a procedure, that processes incoming File:
>
> def processUploadedImage(file):
> img = Image.open(file)
> downsampleUploadedimage(img)
> stampU
On Dec 2, 8:15 am, Sithembewena Lloyd Dube wrote:
> Hi all,
>
> I have an admin site enabled for my Django project. For some reason, some
> records are no longer displayed (they were displayed just fine before).
>
> Tried restarting the dev server to no avail.
>
> Please see the attached screen du
bel instead of the ID when editing an
> entry ?
>
> Thank you
So, let me get this straight--you have a ForeignKey from one model to
another, and you are editing that field by letting users enter text?
If so, why? You should be using some type of choice field.
Wayne
--
You received this me
y, how does one go about adding these languages to the core.
en-au and en-nz can essentially be a copy of en-gb.
Regards,
Wayne
--
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...@googleg
What is the code that you are using to save instances of the model
with?
--
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
django-us
are trying to access. Problem is, the unicode
string does not have this particular value/method.
That's what I'm guessing without seeing the code, anyway.
Wayne
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
ar to be doing.
HTH,
Wayne
On Aug 10, 11:07 am, vcarney wrote:
> I've got a form with a multi checkbox that contains static choices.
> Using the forms.MultipleChoiceField with the CheckboxSelectMultiple
> widget worked fine for display. However, when displaying an edit form,
> t
Thanks for your hint. It worked out pretty well.
Wayne
On May 2, 4:06 am, Daniel Roseman wrote:
> On May 2, 4:29 am, Wayne wrote:
>
> > Hi,
>
> > We are trying to customize Django admin change list displaying model
> > objects. We want to add two buttons (Change, del
hint, that would be great.
Thanks,
Wayne
On May 4, 4:23 am, akonsu wrote:
> hello,
>
> by default an admin url for a model looks like this:
>
> http:///admin///...
>
> is there a way to change it? for different models i need to have
> different url structure. say, i want to
me
hint on this? The "list_display" can only take existing fields, but
not the extra buttons we want to add, right? We do not want to provide
user with batch admin actions option. That is why we want to add
action to each row. Drop down actions menu is not our design
preference.
Thanks
sing more and more on
separation of concerns the templating became less and less of a
problem.
I eventually found that I was almost always better off (usually from a
maintenance perspective) doing the things I felt I wanted to do in the
templates further up the pipeline instead.
--
Regards,
Wayne
null
condition in the oracle database by using syncdb? Currently, after
creating those tables we need to manually modify the column properties
in Oracle to make them not null. Or Django Oracle backend deliberately
ignores null=false for charField creation?
Wayne
On Feb 26, 8:47 pm, Karen Tracey
nk on exactly how to
subclass the base class in order to add a lat and lon point.
Wayne
--
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 grou
lse is not enforced
for charField?
My Django version is 1.1.1, Python version is 2.6, and oracle server
is 10g release 2.
Many thanks for your help.
Wayne
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
packages Django can provide to realize our design? What
is the best strategy for the development?
Many thanks in advance for your help and time.
Wayne
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
opics/serialization/#topics-serialization
Regards,
Wayne
--
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
django-users+unsu
"date" and "time" filters within
the template itself, however, those are still UTC.
Any pointers would be appreciated.
Wayne
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
means of
> determining the filesystem storage location (including a method you can
> define if you need to).
>
> ---Peter Herndon
Note that you can do storage like /yy/mm/dd natively in Django without addons.
-Wayne
--
You received this message because you are subscribed to the Googl
What do you mean by "top ten"?
On 29/01/2010, at 20:53, CCC wrote:
hi,
I have two models:user,group,and they are manytomany,
class User(model.Model):
name = models.CharField(max_length=20)
class Group(models.Model):
name = models.CharField(max_length=20)
users = models.ManytoMany
Hi,
Many thanks for your reply.
I did the test and it seemed that our network is working fine and I
could telnet to the directory with "Connected" feedback. What other
things we could try next?
Wayne
>
> Ralf: $ telnet ldap.example.com 636
> Trying 1.2.3.4...
> Connect
Thanks for the prompt reply. Yes, unique=True was the problem. Now I
passed the "run syncdb" and new tables were created. However, I still
could not "contact LDAP". Could somebody help me with this? There
could be many reasons so I want to start with loggings for Django-LDAP-
Groups.
Thanks!
My s
pub.com/django-1-0-website-development-2nd-edition
It's a great book and deserves to not be pirated.
Regards,
Wayne
--
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.c
Hi,
Sorry for the late reply. Here is more info.
Django Verstion: 1.1
Oracle Version:Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit
Production
cx_oracle for Python 2.6.
Thanks for the help.
Wayne
On Dec 18, 10:26 am, Peter Herndon wrote:
> On Dec 18, 2009, at 10:15 AM, Peter Hern
Hi,
I tried to use djando-ldap-groups but got some errors from database
configuration. Could somebody shed some light on the possible problems
of my set up?
Thanks,
Our LDAP server is Sun One Server and the site is running in the
windows environment.
The settings.py file:
LDAP_SERVER = 'directo
rtant part
> of the app.
Can anyone point out a section in the docs (or anywhere else actually)
the Django "app" concept? I've had a look through the docs but
haven't been able to find anything specifically about that.
Regards,
Wayne
--
You received this message because you
table A). There is no composite foreign key support in
Django and the database can not be changed. Is there a way to still
relate those two objects and display them in the Django provided
inline admin interface?
Wayne
--
You received this message because you are subscribed to the Google Groups
Hi,
I am working with a legacy database which does not set foreign key
constraints at all between tables. I am wondering if I can still
create Inline admin interface by relating two objects through
different methods. If it is doable, what is the best way of doing it?
Thanks,
Wayne
--
You
>> It's been giving me a "502 Bad Gateway
>> nginx" for at least a couple weeks now.
I've been seeing that for a few months now when trying to visit the site.
Regards,
Wayne
--~--~-~--~~~---~--~~
You received this message because
>> Please refrain from posting messages with this tone to the Django mailing
>> lists.
>>
> I wholeheartedly agree.
> The Django community has a good reputation.
> Don't screw it up with your foul verbal attacks.
Surely it should be grounds for
> hi everybody, We want to develop a Bussiness web site with Django framework,
> but we can't decide django's performance. So, would you list some
> large-scale web sites that used django for us?
Define "large-scale".
--~--~-~--~~~---~--~~
You received this messag
> Anyhow, the purpose of this email was just to ask the community what
> editor(s) they preferred to use with Django.
Assuming you mean text editor: jEdit (www.jedit.org).
Regards,
Wayne
--~--~-~--~~~---~--~~
You received this message because you are subs
> Nobody can help me with this?
If somebody:
a) Has the answer and,
b) Has the time and,
c) The inclination to provide the answer, then they will do so.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users
Hi Jon,
The "python setup.py install" command copies the Django library files
to your Python's lib\site-packages directory. You can safely remove
the Django archive which you downloaded.
Regards,
Wayne
2009/8/17 Jonathan Zacsh :
>
> please, can anyone help me out??
&g
en take a Django course with no Python experience then you might be
able to get by.
Regards,
Wayne
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to d
Hi Tony,
> @Wayne: Thanks for the welcome. Why are you using 2.5 for your new/
> large project instead of 2.6?
It just seems to be the "sweet spot" release at the moment. I just
found that a few of the libraries I had been using, even in the last
couple of months, had some
require have mature 3.x releases) there are tools available to make
the job a lot easier, like the 2to3 [2] script.
[1] http://www.python.org/download/
[2] http://www.python.org/doc/2.6/library/2to3.html
HTH,
Regards,
Wayne Koorts
http://www.wkoorts.com
--~--~-~--~~---
tead of this line:
if request.POST['Lived_Out_Uk'] == '1':
Use this:
if 'Lived_Out_Uk' in request.POST:
Regards,
Wayne Koorts
http://www.wkoorts.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
quot; it just empties the pending table.
These same general steps can be adjusted to accomodate more tables
etc. as per your requirements.
Hope this helps,
Regards,
Wayne Koorts
http://www.wkoorts.com
http://www.blazingpanther.com
--~--~-~--~~~---~--~~
You receive
ion is made to use that time for
other things.
As with anything, there's a balance. It's very dependant on the
project and team involved.
Regards,
Wayne Koorts
http://www.wkoorts.com
--~--~-~--~~~---~--~~
You received this message because you are subs
1 - 100 of 122 matches
Mail list logo