I didn't expect this to occur, but when I attempt
{% url feed_user entry.username %}
I will get a 500 error when the username contains a '.'
In this case rob.e as a username will fail.
Any ideas how to deal with this?
--
You received this message because you are subscribed to the Google Groups
I can't seem to find documentation on this anywhere, so I imagine
someone must have run into this.
if I had a radioselect Yes / No and I wanted the default value to be
'No', but I'm not loading this data from a database or anything, is
there a method to just insert an initial value so that the htm
Thanks Bruno,
I'll look back into it again tonight.
On Feb 10, 5:30 am, bruno desthuilliers
wrote:
> On Feb 10, 5:22 am, Roboto wrote:
>
> > class userForm(ModelForm):
>
> OT : Python's naming convention is "UserForm"
>
> > first_name =
Hey all, some quick background.
I am attempting to have email as username within the confines of the
contrib.auth.models User
Everything seems okay, except that my modelForm despite what I believe
is a custom clean Method is not being run (according to my debugger,
it's just jumping past this meth
wow, that looks fantastic.
On Jan 13, 11:34 am, Daniel Roseman wrote:
> On Jan 13, 3:58 pm, Roboto wrote:
>
>
>
> > Hi everyone,
> > I've been building with Django for a while now [having learned Python
> > at the same time], I am about to start my next projec
Hi everyone,
I've been building with Django for a while now [having learned Python
at the same time], I am about to start my next project and looking
back into some of my older code I can see right away that it's a
terrible way to code Django.
For instance:
Task: Build a web form that can will add
{% if form.is_multipart %}
{% else %}
{% endif %}
{{ form }}
http://docs.djangoproject.com/en/dev/ref/forms/api/#binding-uploaded-files
On Jun 15, 12:59 am, Oleg Oltar wrote:
> I made a mistake in view.py.
> Corrected version is
> def handleUploadedFile(file):
> destination = ope
thanks I'll try.
Looks like they don't allow sandbox type environments yet.
On Mar 17, 9:56 am, Chris Scott wrote:
> On Mar 17, 2009, at 8:43 AM, Roboto wrote:
>
>
>
> > Hey guys,
>
> > I'm trying to get facebook connect to work on my django site.
Hey guys,
I'm trying to get facebook connect to work on my django site. I've
hit a little snag where I imagine many of you just walked passed, but
I'm clueless right now.
My runserver runs on localhost:8000 --- but when I setup facebook
connect the app is looking for http:///xd_receiver
Any i
hmm.. I don't think you linked the right item?
Rory
This is what I use to process custom sql statements
def process_sql(query):
from django.db import connection
cursor = connection.cursor()
cursor.execute(query)
results = [dict(zip([item[0] for item in cursor.desc
Hey all,
I'm trying to do something really simple and I was wondering if it is
possible within django.
There is 1 main table lets call it 'Team' - it contains teams all
unique
there are 2 sub tables that FK to Team, called Bulletin and Wall
posts.
There is a 3rd subtable called TeamAccess which
I will second Francis here
1. I copy my trunk into the default python site-package /Library/
Python/2.5/site-packages/django
The key thing is that Leopard comes with it's own built in Python 2.5,
where it give priority when it comes to utilizing python.
You will need to put anything python relat
omg I am such a noob.
Thanks man. Your clutch email allowed me to complete another page
while on the train today =P
On May 7, 2:36 am, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On May 7, 4:34 am, Roboto <[EMAIL PROTECTED]> wrote:
>
> > I know the built in django s
so here is the scenario. Everything works perfectly... online =P So I
don't have an issue with that, I've been doing a majority of my
development on a fast-cgi/apache shared hosting env and everything is
a-ok.
But now that I'm starting to get people to use the site, I can't just
go in and make m
This is probably all just a result of lack of experience, poor
programming practices and knowledge, but I thought I'd share this
little bit of information.
My code to validate picture data posted below.
My quick commentary on it is that it works 100% for fire fox, safari.
But images won't validat
lol I actually have a job that use my programming skills (lol lack
of), but when I view some of your code out there, lol you guys are
programming circles around me.
On Apr 10, 6:53 pm, Roboto <[EMAIL PROTECTED]> wrote:
> whoa!
>
> Lots of great answers here. Thanks for the hel
whoa!
Lots of great answers here. Thanks for the help, I'm going to go
through all these answers one by one and figure out which is best for
me.
I won't be doing a straight dump, so it's gonna be interesting =p
It's easy to do in C# though! But hopefully a solution listed here
will be just as p
I'm curious =P A couple of my users are requesting that I find a way
to export some data to excel so that they can manipulate as fit.
Any thoughts?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
lol sorry.. yes you're right malcom. it's user.get_profile without
parenthesis in templates =P Thanks for your assistance
On Feb 12, 9:22 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-02-12 at 06:06 -0800, Roboto wrote:
> > Hey all,
>
> >
... I'm going to assume that they did that if they're building a
commercial website, otherwise it would have been pointless to bring
django in.
That being said, maybe they setup the urls to mimic RoR url system?
/cart/edit
/cart/save
/cart/details/item/qty/save =P haha yea, I'm reaching here on th
Hey all,
I guess I'm lazy with sql queries, so I've got a quick question. I
just pulled a set of results from a table that foreign_keys the User
table.
But at the same time I'd like to access the get_profile data for each
one of the users.
I know that if you do:
print e.blog #hits the database
Yes, right now I'm using 0.96
Is error_class a 0.97 feature?
Thanks Karen.
I can redo my css =P to revert to ul and li it's not that big of an
issue.
On Jan 20, 11:26 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Jan 20, 2008 10:42 AM, Roboto <[EMAIL
The definition for loginForm can be found at the bottom of this
pastebin
http://pastebin.com/m79fa445e
On Jan 20, 12:39 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Jan 20, 2008 12:31 AM, Roboto <[EMAIL PROTECTED]> wrote:
>
>
>
> > whoops -
and here is the beta.website.forms code
http://pastebin.com/m79fa445e
On Jan 20, 12:31 am, Roboto <[EMAIL PROTECTED]> wrote:
> whoops - here is the re-edited pastebin
>
> http://pastebin.com/m225477f8
>
> On Jan 19, 11:36 pm, "Karen Tracey" <[EMAIL PROTECTED]&
whoops - here is the re-edited pastebin
http://pastebin.com/m225477f8
On Jan 19, 11:36 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Jan 19, 2008 2:02 PM, Roboto <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I've made my own custom error list
Hey Karen,
I've reapplied pastebin - the error that line 22 is pointing to is the
call form = loginForm(data, error_class=pError) line
On Jan 19, 11:36 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Jan 19, 2008 2:02 PM, Roboto <[EMAIL PROTECTED]> wrote:
I've made my own custom error list and the response I continue to get
is this when I try to use it.
TypeError at /login/
__init__() got an unexpected keyword argument 'error_class'
Request Method: POST
Request URL:http://beta.ready-ready.org/login/
Exception Type: TypeError
Ex
How do forums ie PHPBB and gmail know if I've viewed a topic or not?
I can think of only 2 methods - 1 is session, and the second is
database. However, if I change computers and therefore changing my
session it's still able to ensure track what I've viewed. It
therefore leads me to believe that
ected to the net.
On Nov 9, 10:22 am, GodOfGeeks <[EMAIL PROTECTED]> wrote:
> can u give me more info about the MySQL version and the commands u
> used for compiling
>
> On Nov 9, 4:19 pm, Roboto <[EMAIL PROTECTED]> wrote:
>
> > Help, has anyone got this to work?
Help, has anyone got this to work? I've applied the patches to
_mysql.c and tried running it but it still continues to say that I am
missing the libraries required to make the build happen. This is
brutal!
--~--~-~--~~~---~--~~
You received this message because
Actually, yea I'm using mod_python right now.
On Oct 25, 10:25 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Oct 26, 11:15 am, Roboto <[EMAIL PROTECTED]> wrote:
>
> > Hi All,
>
> > I'm trying to stop people from uploading like 3mb images a
That's true, I didn't think about this at first - it's difficult to
make it as a programmer with market dilution.
On Oct 25, 10:38 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> Speaking as someone who's tried their hand at both sides of the coin,
> I definitely agree with you, Ross. I'm current
Hi All,
I'm trying to stop people from uploading like 3mb images and crashing
the server. I think, think, that to some degree my limiters are
working. In my apache config I've set LimitRequestBody 307200. That
should be about 300k. Now when I upload an image greater than that, I
can see that
y, I kind
> of understand why people ther get into so much trouble and 'danger' (of
> getting stuck with sucky contractors) to outsource to india. (a country
> with a similar economy than ours)
>
> Roboto wrote:
> > Is that assuming that you can do work 5x faster than a PHP dev
Is that assuming that you can do work 5x faster than a PHP developer?
On Oct 25, 6:28 am, Roboto <[EMAIL PROTECTED]> wrote:
> ! holy smokes
>
> On Oct 25, 3:01 am, BitBlazer <[EMAIL PROTECTED]> wrote:
>
> > It varies depending upon various things. For me it would
! holy smokes
On Oct 25, 3:01 am, BitBlazer <[EMAIL PROTECTED]> wrote:
> It varies depending upon various things. For me it would be anywhere
> between 40-50 euros per hour.
>
> On Oct 25, 8:46 am, Roboto <[EMAIL PROTECTED]> wrote:
>
> > Hey all,
>
> >
Hey all,
I'm just curious, but if you were elance your skills out, what would
you normally charge? I was wondering what the going rate to hire a
django cat would be on an hr basis
Thanks,
Rob
--~--~-~--~~~---~--~~
You received this message because you are subs
i'm not great at this, but a shot in the dark - turn off mod_php
On Jul 5, 2:59 pm, e-gor <[EMAIL PROTECTED]> wrote:
> I have python 2.5.1, django report errors:
>
> Mod_python error: "PythonHandler django.core.handlers.modpython"
>
> Traceback (most recent call last):
>
> File "/usr/local/lib/
Thanks Jacob,
I was looking for something like this!
On Jul 3, 2:17 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
wrote:
> Hey Roboto --
>
> There isn't anything Django-specific about consuming web services;
> it's just Python. You might want to check out
Hey guys,
I'm still new to Python and Django, heck I guess I consider myself new
to web development in general, and I'm at a part where I'm a little
lost on what to do. In a nutshell I have a form that will take in a
Country (from a drop down) and a postal code. I want to grab the
province/state
I'm looking for a gallery plugin for my community dragonboat website.
Anyone have any ideas where I can find one so that my users can start
posting their own pictures?
Thanks,
Robotooo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Okay.. solved my issue... but ran into another one.
Rows are returned - however output is returned with no Keys
looks like this [(4, 2, 'ACT', 3, 'Chris', 'Yiu'), (2, 2, 'ADM', 1,
'Robert', 'Chan')]
Anyone have any thoughts
r.execute("SELECT
a.id,a.team_id,status,a.user_id,first_name,last_name FROM login_access
AS a INNER JOIN login_personal AS b ON (a.user_id = b.user_id) WHERE
(a.team_id = %s AND (NOT (a.status = 'NON' OR a.status = 'WAT')))",
[team_id])
row = cursor.fetchall()
re
The table may not actually exist yet. You might have to create it by
> hand of you have already created the model and validated then synced.
> Make sense?
>
> On May 20, 12:30 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
>
> > On Sun, 2007-05-
..
I was thinking about this for the LONGEST time. I get it now finally.
It would be login_personal
Thanks
On May 20, 3:30 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sun, 2007-05-20 at 19:22 +0000, Roboto wrote:
> > This is what I'm curren
uot;status","login_access"."user_id",
(SELECT first_name FROM Personal WHERE user=user_list.user) AS
"first_name" FROM "login_access" WHERE ("login_access"."team_id" = 2
AND (NOT ("login_access"."status" = 'NON')))
Hey all,
I've got some issues writing this query out, so maybe I can get some
help
I have 4 tables:
User (default from django)
Profile (foreign key is User)
Access (foreign Key is User and Team)
Team
I want make a roster for each team, so I would do the following
"select * from access where team
Hmm.
Alright.. lol. I'm not sure how I"ll be able to solve this problem,
but thanks! I'll definitely try examining the issue thoroughly!
On Apr 28, 9:56 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 4/28/07, Roboto <[EMAIL PROTECTED]> wrote:
&g
I'm using Piotr Diamanda MyghtyBoard and I keep running into this
error when I try this 1 particular view... I've asked Piotr directly
and he indicated it could be a django/server issue. Any thoughts?
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.
takes up to 5 seconds apparently.. lol.
In any event, a dedicated server would definitely solve this issue,
that or I start getting a lot more hits than I currently am.
Rob
On Apr 16, 10:08 am, "Roboto" <[EMAIL PROTECTED]> wrote:
> ahh =P I'll try. I'm running with Gro
ahh =P I'll try. I'm running with Grokthis.net as server right now,
and I'm relatively new to understanding apache, I'll see what I can
do.
On Apr 16, 9:52 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
> On 4/16/07, Roboto <[EMAIL PROTECTED]>
serving directly from apache.
On Apr 16, 8:25 am, "Jay Parlar" <[EMAIL PROTECTED]> wrote:
> On 4/16/07, Roboto <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hey Jay, yeah, I noticed somethign similar to that affect as well. It
> > seems like it does some
Hey Jay, yeah, I noticed somethign similar to that affect as well. It
seems like it does some sort of caching or something, and if it hasn't
cached in a while it takes a while to load. I'm running mod_python,
so I'm often reseting the server so that my code changes go through.
As for serving med
It's in general. Although.. I can't really tell to be dead honest.
Last night I was crawling at 5-10 secs for response times.
On Apr 15, 1:55 pm, "Julio Nobrega" <[EMAIL PROTECTED]> wrote:
> On 4/15/07, Roboto <[EMAIL PROTECTED]> wrote:
>
> > You&
Hey guys,
I really need some help with understanding the issue here, I'm not
making too many database calls so I'm not sure why it's taking so long
for each view to go through. Any common problem areas that cause slow
down? ie sever? poor db calls.. etc?
here is the website
www.ready-ready.org
Hey guys, just a quick question here:
I have a base template called base.html. Essentially all it holds are
blocks to be filled in by child templates and it contains a menu which
is common to all templates but it is also in block in case I ever
needed to override it in the future
So I have a vi
Hi all,
I've been away from Django for a bit, and for some reason I can't get
the admin interface to reflect the changes in the models.py for my
apps.
I've syncdb, i've sqlreset.
I've done everything (but the right thing) to try to get the admin
interface to pick up the new charField that I've
Session Tampered Error (Admin only)
Bug solved!
TURN OFF MOD_PHP!!
--~--~-~--~~~---~--~~
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
I was looking at the code to try to figure out why I constantly get
raise SuspiciousOperation, "User may have tampered with session
cookie." error when I try to login to my admin. All I've been trying
to do is get a test project up on production and the only thing I can't
get working is the admin
Hi Guys,
Been trying to get the Admin deployed on Apache mod_python and after
the login screen I get this:
Traceback (most recent call last):
File
"~/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py"
in get_response
74. response = callback(request, *callback_args, **c
Hey guys, I'm just frustrated now any help would be appreciated.
I've copied all the required media files to my
/home/public_html/mydomain/media
I've set settings.py media root and url to point to the above
my .conf settings are the following
#
Hey guys,
I just need a little guidance here as I'm not all that awesome with
servers. I'm currently being hosted on grokthis.net and a short while
after I received my account information I've been trying to get a quick
site up so that I can start making something significant
they've set it up
62 matches
Mail list logo