Nope, haven't defined anything interesting for admin. The field name
matches, as far as I know.
Frankly, though, given the length of time it takes for the server to
reply (owing to the huge number of entries for the m2m field), I guess
this really isn't worth fixing if it's more involved than a si
I looked into the code again and think I've found where the values
come from.
class CommentFormNode(BaseCommentNode):
"""Insert a form for the comment model into the context."""
...
return comments.get_form()
(ctype.get_object_for_this_type(pk=object_pk))
The comments.get_form() w
For reference, it looks like D.Rosman has already wrote about the same
topic at http://blog.roseman.org.uk/.
Franco
--
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 unsubscri
Hello all,
We at CaspianSolutions, have couple of full-time Front-End Web
Development positions with a start-up company here in Palo Alto.
Job Description:
• 4+ years of experience in an Engineering position.
• Experience in Django/Python highly desired.
• Deep knowledge of web: AJAX/JSON/Javasc
Oh ok. Thanks for the quick response. I guess I'll have to rewrite the
script in Python.
On Dec 1, 9:04 am, Javier Guerra Giraldez wrote:
> On Tue, Nov 30, 2010 at 10:51 PM, vamsy krishna
> wrote:
> > I am trying to embed an Ajax call to load some RSS feeds using a PHP
> > script in my Django a
On Tue, Nov 30, 2010 at 10:51 PM, vamsy krishna wrote:
> I am trying to embed an Ajax call to load some RSS feeds using a PHP
> script in my Django app. This does not work and it returns my actual
> PHP code which is not getting executed. This works when I try the same
> outside of Django in Apach
Hi,
I am trying to embed an Ajax call to load some RSS feeds using a PHP
script in my Django app. This does not work and it returns my actual
PHP code which is not getting executed. This works when I try the same
outside of Django in Apache.
Can someone help me to get it working? Is it ok to use
Hi All,
On Oracle 10.2 with Character-Set set to WE8MSWIN1252,
When using Django, I try to select a Oracle row which contains a field with
value as 'Páginas', i encounter the following error "'utf8' codec can't
decode bytes "
Here is the trace from the python command prompt.
>>> tmlist = Termin
On Wed, Dec 1, 2010 at 2:45 AM, Baurzhan Ismagulov wrote:
> I'd
> ideally like to pick one of the projects developed in Django and develop
> on top of it.
>
I agrees. There are projects that need cleanup, and moreover developing a PM
mgmt app from scratch is too much
of an effort, unless you wa
Noob question here: why would it need limit=5 if the funcion has default
values?
Best regards,
Andre Terra
On Mon, Nov 29, 2010 at 20:17, Daniel Roseman wrote:
> On Nov 29, 8:28 pm, James Matthews wrote:
> > Hi,
> >
> > When I use this rate limiterhttp://
> www.levigross.com/post/1721427025/d
On Wed, Dec 1, 2010 at 8:08 AM, Cal Leeming [Simplicity Media Ltd] <
cal.leem...@simplicitymedialtd.co.uk> wrote:
> 1) The fact you've put the terms "my client" and "work permit" whilst using
> a gmail email address, that doesn't have your real name, kinda says a lot.
> 2) You've broadly used the
On Tue, 2010-11-30 at 12:56 +0530, Akash Mukherjee wrote:
> I have a webapp created in django. Now I want to convert the entire
> code into PHP. Is it possible?? If yes, how?
although I can sympathise with your problem - some suit has decided that
the code be in php? - it is unlikely that you wil
1) The fact you've put the terms "my client" and "work permit" whilst
using a gmail email address, that doesn't have your real name, kinda
says a lot.
2) You've broadly used the term AJAX, without specifying what JS
framework (if any) you wish to be used.
3) You've used and/or on HTML5, as if to
Too much noise!
To answer OPs question, you'd have to port the code to PHP manually.
On 01/12/2010 02:18, Steve Holden wrote:
On 11/30/2010 9:15 PM, Kenneth Gonsalves wrote:
On Tue, 2010-11-30 at 13:53 -0500, CLIFFORD ILKAY wrote:
I have a webapp created in django. Now I want to convert the e
On 11/30/2010 9:15 PM, Kenneth Gonsalves wrote:
> On Tue, 2010-11-30 at 13:53 -0500, CLIFFORD ILKAY wrote:
>>> I have a webapp created in django. Now I want to convert the entire
>>> code into PHP. Is it possible?? If yes, how?
>>
>> I have a Porsche that I'd like to trade for an ox cart. Any taker
On Tue, 2010-11-30 at 13:53 -0500, CLIFFORD ILKAY wrote:
> > I have a webapp created in django. Now I want to convert the entire
> > code into PHP. Is it possible?? If yes, how?
>
> I have a Porsche that I'd like to trade for an ox cart. Any takers?
> Seriously, why would you want to do that?
w
heya,
Sorry to reply to myself, but I seem to have the split worked out,
using string syntax as suggested by Daniel, as you would for a FK to a
model not yet defined (http://docs.djangoproject.com/en/dev/ref/models/
fields/#foreignkey).
It seems to work now, however, it is a bit messier than dire
heya,
Thanks to both for your advice.
Yeah, you're right, it's a somewhat unwanted circular dependency. It
was just the only way I could think of to deal with a somewhat
unwieldy/large models.py file.
Even using the string syntax, I hit a bunch of other issues, due to
how tightly the two models
If we are able to work from home then I will for sure provide my
resume. Home = Canada
On Nov 30, 7:37 am, Bita Bita wrote:
> My client is in an immediate need for a front end engineer who knows
> Django, Python, AJAX, and/or html5 . This is a full time position with
> a really good pay in Palo
Well - that's one way
A simpler way is to use your settings.py file to point to your media,
and remove all reference to .css from your url.py files
...
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = '/path_to_media_root/static_media/'
Hi, I've got the following model and I want it so that each delivery
has a default category of undefined
class Delivery(models.Model):
.
categories = models.ManyToManyField(Category, blank = True, null =
True)
.
Then if other categories are selected undefined is automatically
On Tue, Nov 30, 2010 at 12:30:55PM -0800, tiemonster wrote:
> I finally had a chance to put a demo up online:
>
> http://freeshell.de/~mscahill/projects/
>
> Now obviously this isn't as pretty as it could be. It's meant to be
> installed within an existing application. I made a half-hearted effor
Ideally any proposed solution could also substitute the search for the
newest timestamp via Max() to be the largest Value.data float with
similar logic.
Franco
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email t
Of course I will do upgrade the doc.
BTW: Latest doc from SVN: http://ubuntuone.com/p/RY1/
On 30 Nov., 07:00, derek wrote:
> Hmm. So you're not planning to upgrade the doc when the final release
> is made...?!
>
> On Nov 25, 4:22 pm, "ckar...@googlemail.com"
> wrote:
>
> > Okay, please remind
I finally had a chance to put a demo up online:
http://freeshell.de/~mscahill/projects/
Now obviously this isn't as pretty as it could be. It's meant to be
installed within an existing application. I made a half-hearted effort
to mock up something that would give you an idea of how it might look.
Start by reading
http://www.b-list.org/weblog/2006/nov/16/django-tips-get-most-out-generic-views/
and
finish by writing one (or many!) wrapper function(s) as suggested.
It will make your code 1) readable, 2) easier to debug, 3) extensible, 4)
powerful, and 5) DRY.
Cheers,
Andre Terra
On Tue, No
All,
I'm attempting to consolidate many orm queries into one. My models:
class Key (models.Model):
name = models.CharField()
class Value (models.Model):
data = models.FloatField()
timestamp = models.DateTimeField()
key = models.ForeignKey(Key)
Given a list of Key names, I am able to ann
Because he can't drive stick.
Regards,
Andre Terra
On Tue, Nov 30, 2010 at 16:53, CLIFFORD ILKAY wrote:
> On 11/30/2010 02:26 AM, Akash Mukherjee wrote:
>
>> Hello,
>>
>> I have a webapp created in django. Now I want to convert the entire
>> code into PHP. Is it possible?? If yes, how?
>>
>
>
It's very strange, got this:
urls
info_dict = {
'Queryset': Obra.objects.all (),
}
(r'index / $ ',' django.views.generic.list_detail.object_list ',
info_dict, dict (name = "obras_index", template_object_name = 'obras',
paginate_by = 5)),
template
[...]
{% For book in the works%}
obra.num
On 11/30/2010 02:26 AM, Akash Mukherjee wrote:
Hello,
I have a webapp created in django. Now I want to convert the entire
code into PHP. Is it possible?? If yes, how?
I have a Porsche that I'd like to trade for an ox cart. Any takers?
Seriously, why would you want to do that?
--
Regards,
Cl
Many thanks. This worked swell, and I also set the cookies expire when
browser closed setting.
On Nov 24, 11:39 am, Daniel Roseman wrote:
> On Nov 24, 4:23 pm,octopusgrabbus wrote:
>
> > Sorry for the late reply. Most of my users will not remember to log
> > out. After, say four hours, I'd like t
I am running Django 1.2.3 -- python -c "import django; print
django.get_version()" I basically need to know what logs to look at to
fix a css file not loading.
I am trying to load a css file in my base template
{% block title %}Town of Arlington Water Department AMR
System{% en
Thanks for the info guys, after I slept on it I went a different way.
Used a model manager that added a column to the row (p.js_timestamp =
time.mktime(p.datetime.timetuple()) * 1000)
Matt
On 29 Nov, 18:16, Matt Thompson wrote:
> Hello guys and girls,
>
> I'm looking to use Flot to graph some d
On Tue, Nov 30, 2010 at 5:01 PM, mangamonk wrote:
> here are my email configurations in settings.py
>
> EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
> EMAIL_HOST = 'smtp.domain.org'
> EMAIL_HOST_PASSWORD = 'password'
> EMAIL_HOST_USER = 'webmas...@domain.org'
> EMAIL_PORT = '587'
here are my email configurations in settings.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.domain.org'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_HOST_USER = 'webmas...@domain.org'
EMAIL_PORT = '587'
DEFAULT_FROM_EMAIL = 'webmas...@domain.org'
SERVER_EMAIL = 'webm
If nobody responded to you yesterday, you might want to revise the post with
some more details, rather than just re-posting it. It's not worth most good
developers' time to inquire about 2 sentence job posts that are really
ambiguous...
On Tue, Nov 30, 2010 at 10:37 AM, Bita Bita wrote:
> My cli
I forgot to get miliseconds you just have to do:
datetime.getTime();
--
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
You can use this format
{{date|date:"Y/m/d H:i:s"}}
d = new Date("2010/11/30 09:58:25");
The problem with ms is that Javascripts accepts only two decimals so
if you want to use miliseconds you can do something like this:
function to_datetime(datetime){
// from python >>> datetime.now().strft
My client is in an immediate need for a front end engineer who knows
Django, Python, AJAX, and/or html5 . This is a full time position with
a really good pay in Palo Alto, CA. Sent me your updated resume if
interested. The candidate should have work permit.
--
You received this message because y
On 29/11/10 22:17, Daniel Roseman wrote:
> (Actually I'm not sure that 'callable decorator' is the right term
> here, but I can't think of a better one. Is there a canonical name for
> this sort of thing?)
PEP 318 just says "function that returns a decorator" (which is a bit of
a mouthful)
"The
On 29/11/10 20:03, Anderson Goulart wrote:
> Hi,
>
> How can I render to a javascript code a variable set in a view?
> I tried {{ variable }} but it returns nothing in the html source code.
> When I put this {{ variable }} outside
Time better spent learning django :)
On Nov 30, 2010 9:24 AM, "Tom Evans" wrote:
> On Tue, Nov 30, 2010 at 7:26 AM, Akash Mukherjee
wrote:
>> Hello,
>>
>> I have a webapp created in django. Now I want to convert the entire
>> code into PHP. Is it possible?? If yes, how?
>>
>> Thanks
>>
>> Akash
>
On Tue, Nov 30, 2010 at 7:26 AM, Akash Mukherjee wrote:
> Hello,
>
> I have a webapp created in django. Now I want to convert the entire
> code into PHP. Is it possible?? If yes, how?
>
> Thanks
>
> Akash
>
Anything is possible given enough resource. I am not aware of any
tools that would automat
On Nov 30, 8:31 am, photon wrote:
> Mostly I followed the instruction
> ofhttp://docs.djangoproject.com/en/dev/ref/contrib/comments/
>
> While my code could run as expected, I cannot find when and where the
> field values in "form" are set before it's called in line 4~6 of the
> form.html as belo
2010/11/30 Alexandre González
> It always show two forms but with the last one (five_form) but the update()
> works perfectly.
>
Try dcramer or johnboxall version of django-paypal - dcramer's is no more
maintained i guess.
On a different note : were you able to add multiple items to the dict?
Hi! I like to show 2 different paypal forms using django-paypal, this is my
code:
def payments(request):
paypal_dict = {
'amount': None,
'business': settings.PAYPAL_RECEIVER_EMAIL,
'item_name': None,
'notify_url': settings.PAYPAL_NOTIFY,
'return_url': se
Mostly I followed the instruction of
http://docs.djangoproject.com/en/dev/ref/contrib/comments/
While my code could run as expected, I cannot find when and where the
field values in "form" are set before it's called in line 4~6 of the
form.html as below. What I'm particularly interested in was th
Hello,
I have a webapp created in django. Now I want to convert the entire
code into PHP. Is it possible?? If yes, how?
Thanks
Akash
--
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...@googlegroup
On 30 nov, 07:01, Victor Hooi wrote:
> Hi,
>
> I had an application with a fairly large models.py file, which I split
> up into separate apps to make it easier to manage.
This won't address your problem but FWIW, you don't have to use
separate apps just to split a models.py file - you can turn it
On Tue, Nov 30, 2010 at 4:11 AM, Lachlan Musicman wrote:
> On Tue, Nov 30, 2010 at 12:28, Victor Hooi wrote:
>> Hi,
>>
>> I'm wondering what the community's stance on using NULL in Django is?
>>
>> Say for example you have:
>>
>> class Person(models.Model):
>> street_address = models.Ch
On Nov 30, 6:01 am, Victor Hooi wrote:
> Hi,
>
> I had an application with a fairly large models.py file, which I split
> up into separate apps to make it easier to manage.
>
> Two of the apps are called "conferences" and "people", each with their
> own models.py.
>
> These two are fairly tightly
Hallöchen!
Todd Wilson writes:
> [...]
>
> [...] Instead of hard-coding the entity types here, you are using
> a constant, presumably because you may want to introduce more
> entity types later. But what are the trade-offs bewteen
> representing types as CharFields with choices, as you are doin
I've successfully managed to configure my django project on virtual
server :) The only problem 1 have by now are admin static files:/
I have no rights to /usr/lib/python2.5/site-packages/django/contrib/
admin/media. I created symlink, but permissions block it's display. I
there any way, to put my a
53 matches
Mail list logo