ot;) <--- possible to run these in
separate thread or process easily so Django app doesn't have to wait
on it? How?
Thanks!
Chris
--
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...
1. Restarting Apache+mod_wsgi
2. Clearing Firefox cache and
3. Visiting Django app URL
are all done often when debugging/developing a DJango app under Apache
+mod_wsgi.
I've noticed with mod_wsgi, I will *SOMETIMES* get an error after this
triad.
Reloading the Django URL makes it go away so it o
On Jun 14, 7:02 pm, Graham Dumpleton
wrote:
> Use WSGI script described in:
>
> http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html
In mod_wsgi's defense, remember that this error happens sporadically
and is NOT a showstopper as a reload makes it go away completely
(until a
I found the Apache error for this mod_wsgi error that only appears the
first time I reload an app after restarting Apache
[Tue Jun 15 18:12:39 2010] [error] [client ] request
failed: error reading the headers, referer: http://
--
You received this message because you are subscribed to the Go
On Jun 15, 6:42 pm, Graham Dumpleton
wrote:
> This occurs when Apache is first reading HTTP headers for request and
> long before it hands it off to any Django application or even
> mod_wsgi.
Is there anything I can do about this? I assume this means we should
pronounce the mod_wsgi setup I hav
How set initial form field value in the view function?
The initial keyword is great when defining a subclass of Form if you
the initial values is ALWAYS the same.
What if it varies?...I'm guessing I must set it in the view.
How set this initial value in the view?
Chris
--
You received
How interate over just a slice of form fields in template?
I tried {% for e in form|slice:":5" %} but it appears the slice part
is just ignored.
cs
--
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.
You probably don't want to reference the login view to /accounts. You
probably mean to do this:
(r'^accounts/', include ('django.contrib.auth.urls'),
That will map /accounts/login to django.contrib.views.login, /accounts/
logout to django.contrib.views.logout, etc.
In general, when using an app,
pattern.reverse_dict:
> File "/usr/lib/python2.6/dist-packages/django/core/urlresolvers.py" in
> _get_reverse_dict
> 199. self._populate()
> File "/usr/lib/python2.6/dist-packages/django/core/urlresolvers.py" in
> _populate
> 168.
Much like programming, it will come from experience. Practice a lot. You'll
make a lot of things you aren't happy with, probably like your first bits of
code :) Try to imitate things you like, and see the techniques they use to
create cool designs. It, like anything else worth doing, will be easier
Ever time a web page is visited, a view is called and a NEW request
object is passed in right?
Then if I'm not mistaken, it appears you can't maintain
request.session when you visit a new web page and a new view because a
NEW request object is passed in to the new view right?
My personal co
Wow beautiful. Thanks. I needed that.
cs
On Jul 10, 12:14 am, Javier Guerra Giraldez
wrote:
> On Fri, Jul 9, 2010 at 11:36 PM, Chris Seberino wrote:
> > elif form.is_valid():
> > ...
> > request.session["posts"].append(form.cleaned_data)
>
SESSION_SAVE_EVERY_REQUEST = True
(in settings.py)
seems to avoid a lot of potential bugs from forgetting to set
request.session.modified = True when necessary.
Is this a serious performance problem? If not, I would think this
would be a good *default* value for Django no?
Chris
--
You
I have this query, trying to get the next game in the future.
today = datetime.datetime.now()
next_game = Game.objects.filter(date__gt=today).order_by('date')[:1]
I need to use .get() if possible, instead of .filter() how can I do
this?
--
You received this message because you are subscribed to
database, in a
separate query where sport=sport and opponent=opponent to figure out
the historical Win/Loss record between the teams?
On Jul 12, 8:15 pm, John M wrote:
> Why does it matter?
>
> You could just say next_game[0] instead.
>
> J
>
> On Jul 12, 4:28 pm, Chris M
Nick, thank you so much for figuring this out!!
On Jul 8, 11:12 am, Nick Raptis wrote:
> In firefox, check your preffered language settings, in the content tab.
>
> If there is a non-standard value there (perhaps "/etc/locale/prefs.conf"
> or something) instead of a locale like en-US,
> some dja
This is my model, I'm trying to set it so that if the game is in the
future, based on the field date, then to return True, if not return
False.
http://dpaste.com/218111/
I am importing datetime in my models.py but for some reason it's
giving me nothing. I tried displaying future and nothing shows
I'm using it in my template...
Basically this http://dpaste.com/218114/
Mainly I want to use it for the {% if %} but I tried to just show it
was well and still nothing...
On Jul 14, 11:49 am, Daniel Roseman wrote:
> On Jul 14, 4:43 pm, Chris McComas wrote:
>
> > This is my
etime.datetime.now()' instead of 'datetime.now()'
>
> b>
> from datetime import datetime
> Then 'datetime.now()' should work correctly.
>
> Thanks,
> Subhranath Chunder.
>
> On Wed, Jul 14, 2010 at 9:13 PM, Chris McComas wrote:
>
>
>
How can a view tweak the response object so that client sees a
specific anchor instead of the top of the page?
Chris
--
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...@googlegrou
On Jul 15, 3:44 am, Daniel Roseman wrote:
> window.location = window.location + '#whatever'
I added that code to script element in head and it didn't work.
I have a TinyMCE javascript editor that gets run too. I don't know if
that is conflicting or if there is something else I need to do t
On Jul 15, 3:57 am, Oleg Lomaka wrote:
> First without javascript. You cat check URL of HttpRequest and if it is
> without
#anchor element, then send redirect to the same URL with #anchor.
Yes redirection is a great non-Javascript way to do this.
Is there ANY way to preserve the old form data t
On Jul 17, 11:16 am, Justin Myers wrote:
> or just put that one line (with a semicolon at the end, since it's
> missing one) in a
place. Most seemed
unnecessary since UTF-8 is already powerful enough to handle all types
of chars with addition of special treatment for &, <, >, ' and ". I'm
not sure what part of the process added these HTML entities OpenOffice
-> Django -> WordPress)
Thanks!
C
er I see a drop down box with NO
choices. Or rather, a blank choice.
Chris
--
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
eld to a ChoicesField.
All the best,
Chris
--
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+unsubscr...@googlegr
beta tester
for you... keep me posted!
chris
On 08/17/2010 04:35 PM, tiemonster wrote:
I was unable to get the code working. I'm developing a project
management application for Django if you're interested in
contributing.
On Aug 16, 2:27 pm, Bobby Roberts wrote:
hi all.
I
Adding extra attributes to User classes seems to be handled originally
by a "profiles".
A new way seems to be to subclass the User class.
One problem with the shiny new way is that lots of code is written to
handle User classes instead of subclasses. The suggested way to fix
this is nontrivial.
yeah i was looking at something like that... actually let me correct
what i'm needing to do:
select year(fieldname) as pubyear from table order by year(fieldname) asc
On 09/27/2010 01:15 AM, akaariai wrote:
The most efficient? Exactly that using raw SQL. I think something
along the followin
I have this code:
http://dpaste.com/250981/
The file is uploading properly, but it is not creating any entries in
my Pharmcas table, it's worked before, last spring when we used it
last, but right now it's not working? It uploads and saves the file as
it should, but then doesn't do any of the cre
good luck
Chris Lawlor
On Oct 4, 3:29 am, Martin Melin wrote:
> On Mon, Oct 4, 2010 at 8:25 AM, mark jason wrote:
> > hi
> > I am quite new to django ..I have written a web app that takes user
> > input and adds customer details to db.
> > I store customer name,emai
One approach is to set "MaxRequestsPerChild" to one, basically forcing
the server to reload on every request. Probably not the most efficient
way to accomplish this, but almost certainly the most simple to
implement.
On Oct 3, 5:39 pm, Олег Корсак
wrote:
> Hello. I'm using mod_wsgi 3.3 + apache 2
Hi All,
I have an existing Django app with lots of data in it. For reasons
beyond my control, this app needs to move from Postgres to MySQL.
What's the best way of going doing this?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
Hey all,
I hope this is still on topic, but what tool sets do people around here
use for doing load testing of Django projects?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
You received this mes
On 13/10/2010 09:17, Chris Withers wrote:
I hope this is still on topic, but what tool sets do people around here
use for doing load testing of Django projects?
Thanks for the answers...
...now to ask the question in a different way again ;-)
Anyone recommend any load testing services
app' } ),
or
( r'^$', LandingPage ),
or
( r'^$', 'redirect_to', { 'url' : '/home/winapp/HomePage.html' } ),
or
( r'^$', '/home/winapp/HomePage.html' ),
Any ideas?
Thanks,
Chris
2010/10/13 Jonathan Barratt
>
&g
Thank you Rob!
> {'template': 'index.html'}
But in that case I have to use Django template file, while my home page is
built with Pyjamas (http://pyjs.org/).
Can I use a Django urlpattern to launch any HTML file, not just Django
tempalte file?
Thank you,
Chris
On Wed,
_('Enter a valid date/time in -MM-DD HH:MM[:ss[.uu]] format.'))
ValidationError: Enter a valid date/time in -MM-DD
HH:MM[:ss[.uu]] format.
...which is a little odd, given that the file was created by 'dumpdata'.
Any ideas?
I'm on Django 1.1...
Chri
helps
What does this have to do with datetimes?
How would I do this on a 200Mb text file?
Anyone know how to get loaddata to be a bit more explicit about where
the failure was?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
-
On 21/10/2010 14:48, David De La Harpe Golden wrote:
On 21/10/10 13:31, Chris Withers wrote:
...which is a little odd, given that the file was created by 'dumpdata'.
Any ideas?
Do you see any genuine wierdness in the format of any stringified
datetimes in the dumped json? Yes I k
that spits out
being parsed correctly by MySQL without complaint? ;-)
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
You received this message because you are subscribed to the Google Groups "Django
users"
Assuming your app is named 'gallery' with a model named 'photo', I
believe the call should be:
{% get_comment_count for gallery.photo as comment_count %}
On Nov 6, 5:12 pm, Bobby Roberts wrote:
> howdy -
>
> i'm trying to use comments on my site as follows:
>
> {% get_comment_count for gallery
You should be able to do something like:
UserProfile.objects.filter(gender='female',
user__email='some...@mail.com')
Note the double underscore notation, which let's you access attributes
of the related model. This example assumes that UserProfile has a FK
field to User which is named 'user'.
On
e is taking taking a long time to load,
but I think that's because my model has a ManyToMany field to a model with a
lot of rows in the table.) How can I get the date field to show up in the admin
interface?
Thanks,
Chris
--
You received this message because you are subscribed to the Goo
5.2-3
Django 1.1.1
mod_wsgi 2.5-1~lenny1
apache2 2.2.9-10+lenny6
Can anyone tell me what I'm doing wrong?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
You received this message because you are sub
one a pattern like this? (One-to-Many, where the
"Many" side can be a series of subclasses?)
On Dec 23, 8:58 am, Chris Curvey wrote:
> this may be beyond the current abilities of the Django auto-generated
> admin interface, but I thought I'd ask...
>
> I have a class called
(although I did trace through the django.wsgi file and all the work
is still done by django.core.handlers.wsgi.WSGIHandler
- A workaround which solves the problem for me is to precede the
WSGIScriptAlias in the apache config with:
RewriteRule ^/studio$ /studio/ [R]
cheers,
Chris
PS: I never
lias*'s...
How can I step through execution from the django.wsgi file and see where
I get to? I'm guessing putting an "import pdb; pdb.set_trace()" in the
django.wsgi file won't do what I want?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing &
un Apache in single process mode. See
> further down in same document on debugging.
>
>
> http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Python_Interactive_Debugger
If anyone can tell me how to do "httpd -X" on a debian or ubuntu host
I'd be very grateful
Chris Withers wrote:
> Graham Dumpleton wrote:
>>> How can I step through execution from the django.wsgi file and see where
>>> I get to? I'm guessing putting an "import pdb; pdb.set_trace()" in the
>>> django.wsgi file won't do what I want?
>&g
Karen Tracey wrote:
> On Sat, Dec 26, 2009 at 5:32 PM, Chris Withers <mailto:ch...@simplistix.co.uk>> wrote:
>
>
> If anyone can tell me how to do "httpd -X" on a debian or ubuntu host
> I'd be very grateful...
>
>
> /usr/sbin/apach
uot;root url without the
slash" case.
I have to admit, I can't see why the script name would ever need to be
trimmed like that. Graham, perhaps you might be able to shed some light
with your greater wsgi experience?
Chris
--
Simplistix - Content Management, Batch Processing & Pytho
have mod_rewrite enabled.
I don't think so, I've checked with the rewrite engine's logging and all
the urls in question are being passed straight through.
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
Continuation wrote:
> Now if I change the single quotes to double quotes, it seems to work:
> (1, "I'm looking for..."),
Double quotes are absolutely fine and a lot nicer to look at than
'I\'m hard to read'.
cheers,
Chris
--
Simplistix - Content M
if isinstance(content, Tweet):
> delta = datetime.datetime.now() - content.pub_time
> else:
> delta = datetime.datetime.now() - content.pub_date
> if delta.days > 30: #failure
>
>
> local variable 'delta' referenced b
ch
directly covered this issue so submitted a new one:
http://code.djangoproject.com/ticket/12464
Sadly, Trac ate the indentation :-(
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
You received
neridaj wrote:
> File "/Users/jasonnerida/django-apps/blog/models.py" in
> moderate_comment
> 142. if delta.days > 30:
Okay, now the line numbered code for the whole of the moderate_comment
function...
Also, check you're not mixing tabs and spaces in th
You'll probably want to use one of Django's thumbnail apps. Here's the one I
recommend:
http://code.google.com/p/sorl-thumbnail/*
-*Chris
On Sat, Jan 2, 2010 at 9:48 AM, nameless wrote:
> Hi everyone I have a simple question.
> This is my model:
>
>
> class
I have a site built with Django, we're switching things up and will be
running ExpressionEngine as our main CMS for the "front-end" /
marketing piece of our site. We will have two Django apps running
elsewhere on the site, one is a Course Management Software we built in
house, the other is an onlin
Well, I don't know the answer to your original question, but if you want to
help out with Satchmo (http://www.satchmoproject.com) feel free to. It's an
ecommerce framework not an HR or warehouse mgmt but maybe it will meet your
needs.
-Chris
On Thu, Jan 7, 2010 at 4:35 PM, Mohammad Tay
davathar wrote:
Unfortunately adding the rewrite rule mentioned as a work around
hasn't worked for me.
Please post the relevant section of your Apache config (including your
wsgi *and* rewrite lines), there's no reason the rewrite rule workaround
shouldn't work for
It really depends on how you're selecting the data from the database. If
you're doing something that necessitates a full table scan(like in-DB ORDER
BY) it will slow you down considerably. If you're selecting one row from the
database by an indexed column, then the performance will be very fast and
at 3:20 PM, nameless wrote:
> The table is queried from ajax using an autocomplete field with this
> query in the views.py:
>
> books.objects.filter(book_title__istartswith=request.GET['q'])[:100]
>
>
>
>
> ---
>
> On Jan 12, 8:47 pm, C
Alessandro Ronchi wrote:
I cannot use an SMS gateway for my app (I must use a SIM and an hardware
modem).
Why? This is not a sane requirement for a web app...
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
>1. my apache server on port 80 serves both a normal site (php) and the
>django files. i would like to keep my normal site on port 80. is there
>a way to keep it that way? as far as i understand the two servers must
>be running on different ports.
Look into what is called a "reverse proxy" e.g. Sq
rying to rack up a load of
cell phones and writing to them...
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
You received this message because you are subscribed to the Google Groups "Django
users" gro
Is there a way to use raw SQL with multiple databases? I thought it
might be something like:
from django.db import connection
cursor = connection.cursor(using="mydb")
but that complains about an unexpected keyword arg.
--
You received this message because you are subscribed to the Google Group
>
> from django.db import connections
>
> cursor = connections['mydb'].cursor()
> cursor.execute('INSERT ')
>
> That is, the 'db.connection' object has been replaced with an index
> called 'db.connections', keyed by database alias. Each of those
> connections behaves as the single connection di
I have this view with my form: http://dpaste.com/152046/ when I try to
submit the form I'm getting this error: unsupported operand type(s)
for //: 'unicode' and 'int' what did I do wrong?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
numbers like 40 or 4
On Jan 29, 8:43 am, rebus_ wrote:
> On 29 January 2010 14:40, Chris McComas wrote:> I
> have this view with my form:http://dpaste.com/152046/when I try to
> > submit the form I'm getting this error: unsupported operand type(s)
> > for //: 'unicode
The form is a ModelForm, where the fields involved, all of them are
DecimalField()
On Jan 29, 9:03 am, Chris McComas wrote:
> Changed my view to this:
>
> http://dpaste.com/152061/
>
> This is the full error message:
>
> http://dpaste.com/152060/
>
> The first t
Hey everyone, here's all of the information:
Here's the models:
http://dpaste.com/152277/
Here's my view:
http://dpaste.com/152061/
Here's the full error message:
http://dpaste.com/152060/
On Jan 29, 9:13 am, Chris McComas wrote:
> The form is a ModelForm, where the
I have this model http://dpaste.com/153722/ and I have a ModelForm for
it on my site. When I complete the form it saves everything as it
should and displays just a detail page for each entry with all of the
correct information from the Model.
When I go back to edit the form, or I view it in the CR
Here's my model form:
http://dpaste.com/153728/
The info isn't being saved as an empty value. When I view my db with
phpmyadmin, the correct values are in the ha_grade and hp_grade field
in the db, the drop-down list on the forms is just not displaying them
as being 'selected'.
On Feb 2, 10:09
Here's my view:
http://dpaste.com/153735/
One thing I just thought of, is it a problem that the data for
ha_grade and hp_grade are saved in the db as 4.3300 or 4. or
3.6700 but in the on my form they're like this: 4.33 or 4.0
or 3.67 ???
On Feb 2, 10:32 am, Shawn Milochik wrote:
> Okay.
Here's the view...
http://dpaste.com/153735/
Could it possibly be that the grade is saved in the db as 4.3300 or
4. or 3.6700 but when I view source the select on the form looks
like this:
-
A+
A
A-
B+
B
B-
C+
C
C-
CR
On Feb 2, 10:32 am, Shawn Milochik wrote:
> Okay. Sorry, I don
in my views that'd be fine as well...
On Feb 2, 10:56 am, Shawn Milochik wrote:
> On Feb 2, 2010, at 10:40 AM, Chris McComas wrote:
>
> > Here's my view:
>
> >http://dpaste.com/153735/
>
> > One thing I just thought of, is it a problem that the data for
>
Shawn -> thnx for your help, that "hacky" fix isn't working tho...
On Feb 2, 11:09 am, Chris McComas wrote:
> Thnx. The reason the grade values are 4.33, 4. 3.67 etc is because
> that value is multiplied by the value entered for ha_credithours and
> hp_credithours. If
Like this?
http://dpaste.com/153790/
On Feb 2, 12:19 pm, Shawn Milochik wrote:
> On Feb 2, 2010, at 11:49 AM, Chris McComas wrote:
>
> > Shawn -> thnx for your help, that "hacky" fix isn't working tho...
>
> Sorry 'bout that. I didn't really test
t the form and it's still not showing anything as
for ha_grade or hp_grade. The drop-down for each
still lists the value as 4.33 or 4.0 or 3.67 etc?
On Feb 2, 12:51 pm, Shawn Milochik wrote:
> On Feb 2, 2010, at 12:48 PM, Chris McComas wrote:
>
> > Like this?
>
> &g
h. Ha
On Feb 2, 1:03 pm, Chris McComas wrote:
> Nope. I dropped the table completely and started from scratch. I'm
> still testing it out, so there hasn't been any real data entered so I
> can play around with it. I dropped the table, uploaded my new models,
> syncdb, and
Again, this is my view:
http://dpaste.com/153735/
I'm thinking the error is in someway related to this line:
new_green.hp_coursepoints = new_green.hp_grade * hp_credithours
The only thing I changed was changed hp_grade from a DecimalField to
FloatField
On Feb 2, 1:14 pm, Chris Mc
Gleber,
I'll try that as well. If I can just figure out how to multiply
total = = new_green.hp_grade * hp_credithours
Where hp_grade is a FloatField (double in the MySQL db) with
hp_credithours which is a DecimalField (decimal in the MySQL db) I
think they'd solve the problem.
On Feb 2, 2:25 pm
is a DecimalField
hp_grade is a FloatField
hp_credithours is a DecimalField
I tried this, but no luck:
new_green.hp_coursepoints = Decimal(new_green.hp_grade) *
hp_credithours
On Feb 2, 2:27 pm, Chris McComas wrote:
> Gleber,
>
> I'll try that as well. If I can just figure out how to
Javier,
WORKED PERFECT! THANK YOU ALL SO MUCH! :)
On Feb 3, 9:50 am, Javier Rivera wrote:
> Chris McComas wrote:
> > I tried this, but no luck:
>
> > new_green.hp_coursepoints = Decimal(new_green.hp_grade) *
> > hp_credithours
>
> Decimal can't directly
This is kinda of a general and kind of a specific question. I have
this in my view:
http://dpaste.com/154208/
The first line adds up perfectly, but the second one doesn't and
throws an index out of range error.
What is the problem?
cog.interview_score and cog.interview_score_conv are both
Decim
I'm trying to run this IF in my views, it's throwing an index out of
range error.
http://dpaste.com/154249/
What have I done wrong?
--
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.
not right
and threw a bad syntax error.
The field rating_recommendation is a CharField in my model/db.
On Feb 3, 2:58 pm, Shawn Milochik wrote:
> On Feb 3, 2010, at 2:52 PM, Chris McComas wrote:
>
> > I'm trying to run this IF in my views, it's throwing an index out of
> > ran
lative difficulty of getting
them done.
-Chris
On Sat, Feb 6, 2010 at 12:57 PM, snfctech wrote:
> I'm building an order entry and tracking system for a Food Co-op for
> their case and special orders. We don't need the system to be on-line
> (at the moment), but many of t
from
but I don't see that much that you'll gain at this point.
If you do decide to continue with Satchmo, let us know, I'm sure folks would
be interested in hearing how it goes but I do want to make sure you go in
with your eyes wide open.
-Chris
On Mon, Feb 8, 2010 at 11:32 AM, s
I have a Course Management System I've developed here at work. Faculty
can login and upload lectures, course resources, etc to classes they
teach, along with general course information. Students can login to
view their courses, download lectures, resources, get announcements
from their faculty memb
I have this in my views, if there lor1 and lor2 are both there it
works fine, but if one or two of them are missing then it gives me
this error.
views.py - http://dpaste.com/161124/
error - http://dpaste.com/161128/
Some applicants have two LORs, some have one LOR, and obviously some
don't have
Using 2.6, what I saw was that I had to ask for __bases__ from the __class__
attribute of my object. So given your example, I'd check:
c.__class__.__bases__[0].__name__
And for the immediate superclass, this also seems to work:
c.__class__.__base__
Chris Hunter
chun...@wondertwinpowers.ne
to be 7 days
from that date. Here's my basic view: http://dpaste.com/166907/
How can I do that? I'm not really up to speed with the time/datetime
functions in Python.
Thanks,
Chris
--
You received this message because you are subscribed to the Google Groups
"Django users&quo
I tried this:
new_admit.read_receipt.datetime.timedelta(days=7)
and I got this error:
http://dpaste.com/166919/
On Mar 2, 9:51 am, Masklinn wrote:
> On 2 Mar 2010, at 15:45 , Chris McComas wrote:
>
>
>
> > These are my models:http://dpaste.com/166906/
>
> > I have
Crap my bad, just under the gun to get this done and I overlook easy
stuff. Sorry guys, thanks so much for your help!
On Mar 2, 10:11 am, raj wrote:
> Now that's a pure python typo. You must add(+) datetime.timedelta to
> read_receipt.
>
> On Mar 2, 8:01 pm, Chris McComas w
One more question...I'm trying in my view to say if the deadline has
passed to make that field as True, if not False
I have this view: http://dpaste.com/166951/
This is the error I get:
http://dpaste.com/166952/
On Mar 2, 10:12 am, Chris McComas wrote:
> Crap my bad, just under the gu
.
-Chris
On Thu, Mar 4, 2010 at 4:50 PM, MauroCam wrote:
> Hi,
>
> has anyone got any pointers on good - preferably localisable -
> integrations between a Django web-site and online payment system?
>
> Thanks
>
> --
> You received this message because you are subs
Senior Web Developer (Python/Django) - Joslin Diabetes Center, Boston
MA
Job Description: The Senior Web Developer position is responsible for
leading the design, development, support and management of internal
and external database driven web applications for the Research
community at the Joslin
her.py", line 86, in connect
argspec = inspect.getargspec(receiver)
AttributeError: 'module' object has no attribute 'getargspec'
Would you mind letting me know how to fix it or what I should read up
on to try to fix it myself? Is there any other information needed?
Cheers,
501 - 600 of 1590 matches
Mail list logo