All,
Am new in django, but am just wondering if i wanted to make use of the
nice css files in the admin site in my local project how would i do
that?
Am able to point the media url on my settings.py to the correct admin
css folder, and actually my project is able to pick the css styles,
but what
Am building a Q&A page, sort of stackoverflow.com kinda page! Am
having a bit of a problem trying to render the form. Am pasing 3
objects to the template that renders the page i.e. Question object,
Answers related to the question and Answer form object.
In the first part of the page i want to dis
Yep!
I've done what Malcolm has suggested, removed everything and added one
section at a time, and i guess its behaving. The problem seems to lie
with a "extends" tag and a css am using.
Thanks guys.
On Jan 16, 12:10 pm, Gath wrote:
> Am building a Q&A page, sort of s
Guys
Am getting the following error message when try to save on my form:
Cannot assign "U'1'": "Answer.Questionid" must be "Question" instance
On my Answer Model questionid is Foreign field to the Question model
defined as follows,
Class Answer(models.Model):
answer=models.ForeignKey(Questi
Great Malcolm, it was supposed to be questionid_id! solved. But i
wonder why for userid am not doing userid_id???, userid works well !!!
hmm
Paul
On Jan 16, 2:19 pm, Gath wrote:
> Guys
> Am getting the following error message when try to save on my form:
>
> Cannot
Guys,
I might be lazy or am blind! but the following code is returning ZERO!
items, while very well i know there is some items in the list,
View:
def post_answer(request, quest_id=None):
answer_list = Answer.objects.filter
(questionis__pk=quest_id).select_related()
...
# if a put a p
Roseman,
Even after removing the attribute object_list, the answerobj still
does not return any length.
Am still very stuck!
Paul
On Jan 16, 5:35 pm, Daniel Roseman
wrote:
> On Jan 16, 12:45 pm, Gath wrote:
>
>
>
> > Guys,
>
> > I might be lazy or am blind
robj.object_list by answer as ans_list %}{{ ans_list|
length }}
Please someone explain to me the relationship btw Paginator and my
models...
Thanks all
Paul
On Jan 16, 7:45 pm, Gath wrote:
> Roseman,
>
> Even after removing the attribute object_list, the answerobj still
> does not
Guys,
Its seems the best way to do templates in Django is via plain html and
css, but am having a problem in understanding css easily, can someone
recommend some nice material/site on css i can read, i mean step by
step till complex stuff.
Paul
--~--~-~--~~~---~--~-
In Django how can i return the total number of items (count) that a
related to another model, e.g the way stackoverflow.com does a list of
questions then on the side it shows the count on the answers related
to that question.
This is easy if i get the questionid, i can return all answers related
Guys
Where can i get a wiki formatting widget for django?
I have enough notes fields in my models and i would want a nice wiki
widget for entering data!
Paul
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Good people!
How can i hook up WMD editor on my django form?
http://wmd-editor.com
Paul
--~--~-~--~~~---~--~~
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@google
dmin.site.register(Category, CategoryAdmin)
Please note when i run the syncdb, the tables are created properly.
Am using Django 1.1
Python 2.6
Windows Vista.
What am i missing out.
Gath
--~--~-~--~~~---~--~~
You received this message because you are subscribed
displayed!
But when i directly inject the background style on my template it
works perfect.
What am i not doing right!
Gath
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
All,
I have downloaded Dojo 1.3, i want to start sampling some examples in
the Dojo website using Django, where do i place the package? How do i
call it in my template?
Gath
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
he template,
firebug gives me the following error;
GET http://127.0.0.1:8000/taglookup/?query=test 404 NOT FOUND
JQuery-1.3.2.js (line 3633)
Any ideas where am goofing?
Gath
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
t;as is" on my view!
Please help
Gath
--~--~-~--~~~---~--~~
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 this group
This is i darn so coo l!!!
Man you guys are killing me with this stuff...
This is such a coincidence;
- Am i django developer - i love it
- and am a fanatic of Astronomy... so i get to learn both topics which
are so dear to my heart, all in ONE portal
i have no words ... thanks.
Gath
On Apr 23
I use pyDev for eclipse, i think its the best debugger for Python/
Django.
Gath
On May 12, 10:52 pm, "ristretto.rb" wrote:
> I second that! WingIDE is aweome.
>
> I'm using NB with xdebug for PHP with one client, and WingIDE Pro
> (which gladly paid for)
>
you are getting from the view that's
calling the template.
gath
On May 13, 9:47 pm, Michael Radziej wrote:
> On Wed, May 13, Joshua Partogi wrote:
> > Dear all,
>
> > Is it possible to do time and or date calculation in the template?
>
> > Let's say I ha
Am using eclipse+pydev to build my django apps. I created a new
workspace, built a new pydev project then created an empty folder in
the new pydev project. In that empty folder i imported my old django
application. Eclipse copied all the files & folders from my old django
location to the new worksp
Sorry, i fixed it! it was a case of wrong PYTHONPATH.
Thanks.
On May 10, 5:21 pm, Gath wrote:
> Am using eclipse+pydev to build my django apps. I created a new
> workspace, built a new pydev project then created an empty folder in
> the new pydev project. In that empty folder i import
Hi,
I have installed django ratings application in my project
http://github.com/dcramer/django-ratings
Am wondering how best can i test my app voting functionality, because
django ratings is only allowing me to vote only once for the same
user, object and Ip address.
Is there a way i can disable
ok at this
http://code.google.com/appengine/articles/django.html
Gath
On Jul 3, 12:40 am, Mak wrote:
> I am completely new to Django. I am wondering if there is a sample
> Django AppEngine application somewhere with explanation on how it is
> setup?
--
You received this message because y
Guys,
James Bannett the release manager for Django gave a very comprehensive
talk during Pycon2010, "Django In Depth".
Where can i get that video for download.
Download link please.
Gath.
--
You received this message because you are subscribed to the Google Groups
"Django u
inted,
but {{ sale.item }} and {{ sale.qty }} in the inner loop shows
nothing! Blank.
What am i missing?
Gath
--
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 unsubscrib
Guys,
Please someone out there help me with a download link of James Bennett
video on "Django in Depth" that was presented during pycon2010.
All the links am getting don't have a download link.
Thanks
Paul
--
You received this message because you are subscribed to the Google Groups
"Django us
Try using custom tags
Create a folder called "templatetags" in your application folder, in
there create two files
__init__.py
customtags.py# this will have your custom tags/filters, please
note it can be any name.
Open your customtags.py file and drop the following lines and save.
from dja
Guys,
What do i need to learn/know before i start contributing to django
development?
Thanks
Gath
--
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
Sorry, had not seen that!
Thanks.
On Feb 9, 10:19 pm, yati sagade wrote:
> Django docs explain this quite nicely :)
>
> https://docs.djangoproject.com/en/dev/internals/contributing/?from=ol...
>
>
>
>
>
>
>
>
>
> On Fri, Feb 10, 2012 at 12:46 AM, Gath w
99% python.
On Mar 12, 8:29 am, Mario Gudelj wrote:
> http://en.wikipedia.org/wiki/Dropbox_(service)#Technology
>
> No reason why it can't be made in Django.
>
> On 12 March 2012 16:06, pankaj sharma wrote:
>
>
>
>
>
>
>
> > Hello everyone,
> > i want to know that which language and framework wa
Seems like it does not support Informix!?
On May 16, 1:20 pm, Rahul wrote:
> IBM_DB_DJANGO-1.0.4
> ---
> IBM_DB_DJANGO adaptor enables access to IBM databases from Django
> applicationshttp://www.djangoproject.com/. The adaptor is developed
> and maintained by IBM.
query)
>>> content_query[0]
# error
# Attribute: 'str' object has no attribute 'items'
Method B
>>> bld = Building.objects.raw("Select * from pms_building where name like
>>> '%build%' ")
>>> type(bld)
>>>bld[0]
My q
quot;,[s])
>>> type(content_query)
Works well.
Thanks
On Oct 31, 5:30 pm, Gath wrote:
> Help!
>
> I have two objects that i have created using different techniques in
> django;
>
> >>> from django.contrib.contenttypes.models import Conten
Chris,
Try to print out the entire list object in the template, see if it has
anything i.e.
{{ messages }}
This should tell you if data is been transfered from your view to the
template.
Gath
On May 21, 7:51 am, Chris Seberino wrote:
> I have a model class called Message with an attrib
Good stuff, thanks.
On Jun 2, 12:47 am, Oscar Carballal wrote:
> Hello,
>
> I've just created a PDF (5.6MB, 1042 pages) with all the django 1.3
> docs [|], just in case someone need it (sometimes it's useful to have
> the docs offline).
>
> Cheers,
> Oscar
>
> [1]http://clionesoftware.com/files/d
Great stuff!! Thumbs up.
I like the concept!
Please share you knowledge on how you did the Django/GAE integration.
Gath
On Jun 2, 10:02 am, maverick wrote:
> We build a pretty cool website LOCQL (www.LOCQL.com) purely on Django
> and run on GAE has just went live!
>
> I would say
There was a long talk by James Bannett called "Django In Depth" during
pycon 2010, it would be good to check it out
http://djangocon.blip.tv/file/3322277/
Gath
On Jul 13, 7:36 pm, Venkatraman S wrote:
> Except for the code, is there any good place to start with to better
>
What's the problem you having?
On Jul 25, 12:48 am, William C Grisaitis wrote:
> Hi all,
>
> I'm new to Django and started following a tutorial I found on google, named
> "djangoles-tutorial.pdf", which shows you how to make a very basic Django
> web app with Eclipse and PyDev. It's the first hit
- app
Then my base.html;
Hope this helps ...
Gath
On Jan 17, 6:26 am, Fletcher Haynes wrote:
> Hello,
> I'm having some trouble getting jQuery UI to work. It doesn't seem to be
> fin
Magee,
Wow! Now thats what we call a response.
You made me understand this subject more.
Thanks a lot Magee.
Gath.
On Jan 18, 5:32 pm, Russell Keith-Magee
wrote:
> On Tue, Jan 18, 2011 at 9:43 PM, Cal Leeming [Simplicity Media Ltd]
>
> wrote:
> > I would be interested to h
Please give me a pointer/link to a tutorial on how i can use GAE with
django.
Thanks,
Gath.
On Feb 14, 7:12 am, Sarang wrote:
> Thanks for the clarification. Yes, I am using django-nonrel which installed
> 1.3.0 alpha 1 for me.
>
> Regards,
> Sarang
--
You received this mess
42 matches
Mail list logo