2009/12/7 sleepjunk :
> Thanks so much for your help. I'm sorry to ask another question, but I
> am getting an error and have spent a few hours trying to figure it
> out. Googling has not helped me.
>
> Environment:
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/
Thanks so much for your help. I'm sorry to ask another question, but I
am getting an error and have spent a few hours trying to figure it
out. Googling has not helped me.
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.1.1
Python Version: 2.6.4
Installed
Thanks so much. I figured that the problem stemmed from working
within the class rather than an instance, as you suggest. The
suggestion to override the save fxn makes so much sense that I am now
embarrassed for asking the question in the first place.
It's amazing how much sense things make
Inline.
2009/12/6 sleepjunk :
> Thank you for the response. I don't believe I explained well enough
> exactly what I'm trying to do.
>
> I have table Video with a field vimeo_code. Each vimeo_code has its
> own XML file. The XML file I used in my views.py is just a random
>
Thank you for the response. I don't believe I explained well enough
exactly what I'm trying to do.
I have table Video with a field vimeo_code. Each vimeo_code has its
own XML file. The XML file I used in my views.py is just a random
video I saw on vimeo. I need to replace the vimeo_code so the
See inline.
2009/12/6 sleepjunk :
> Hello :) I am working on a small video site that allows a user to add
> a video to the site by submitting a Vimeo.com or Youtube.com URL. I'm
> trying to display thumbnails without hosting them. For Vimeo videos I
> need to parse an XML
The error is occurring here as you have mentioned -
rolestartdate = models.DateField(default = \
Project.objects.get
(pk=project.id).startdate)
You're right that Django creates an attribute named id for every model
without a primary key explicitly specified, but I
I am using the code shown below. The part causing the problem is the
Role class which describes the role a person might have on a project.
As part of that role, I would have an attribute that records the start
and end date of the person's involvement. The problem seems to be
coming when I make
Hello :) I am working on a small video site that allows a user to add
a video to the site by submitting a Vimeo.com or Youtube.com URL. I'm
trying to display thumbnails without hosting them. For Vimeo videos I
need to parse an XML file to find the thumbnail location.
On my homepage I would like
On 12 Cze, 08:23, urukay wrote:
> why Django go into "site-package" ?
> - it's directory for 3rd party packages, Django is python framework
>
> For all your other questions, if you're running WINDOWS, the solution is to
> setup your Enviromental Variables-System
roject mysite. This will create a mysite
> directory in your current directory." ... this command "django-
> admin.py startproject mysite" dont is recognized too.
>
> Some help please, in lost...
>
> Thanks
>
> >
>
>
--
Hi, im Asinox, im a php user , CodeIgniter Framewor user, but i want
to test something different to PHP, so why not Python.
But i have a litter problem, im using window with WAMP, my python path
is : E:\wamp\bin\Python25\, my Django installation is: E:\wamp\bin
\Python25\Lib\site-packages\django
On Wed, Jun 10, 2009 at 4:52 PM, spacelab wrote:
>
> I tried to follow the following tutorial
>
> http://agileweb.wordpress.com/2009/04/28/step-by-step-guide-to-use-sign-in-with-twitter-with-django/#comment-67
> however I failed to get it to work properly.
>
> To eleminate
I tried to follow the following tutorial
http://agileweb.wordpress.com/2009/04/28/step-by-step-guide-to-use-sign-in-with-twitter-with-django/#comment-67
however I failed to get it to work properly.
To eleminate one hypothsis, I was trying to find out if there is an
issue with one of of the
Hello everyone,
I just want to announce a brand new tool developers can use to
compress all JS and CSS files easily. It's called Django Aggregator,
and you can find it over at http://www.sgawebsites.com/projects/aggregator/.
It's very simple, and automatically aggregates everything between the
I'm starting out with Django.
When I attempt to execute runserver, this error happens:
Error: (10104, 'getaddrinfo failed')
What is the reason for this and how can I fix it?
I am not too computer-savvy, so complete explanations would be
appreciated.
thanks a bunch
t; For example I just have mine sitting in ~/Users/me/django/
> django_projects/ but could be anywhere.
>
> Good luck!
>
> A
>
> On 16 Apr, 14:41, 83nini <83n...@gmail.com> wrote:
>
>
>
> > Hi all,
>
> > I'm new to django and i'm trying to go thr
83n...@gmail.com> wrote:
> Hi all,
>
> I'm new to django and i'm trying to go through the first tutorial to
> create a website. I am using the tutorial on the official website,
> problem is i have no idea where i should put the folder where i am to
> keep the project that i'm
Hi all,
I'm new to django and i'm trying to go through the first tutorial to
create a website. I am using the tutorial on the official website,
problem is i have no idea where i should put the folder where i am to
keep the project that i'm making!
thanks guys for help.
cheers
t;
> > Hi group,
>
> > as the subject says, I'm new to Django. I worked through some
> > tuturials and djangobook.com for the 1.0.2 version as far as there
> > already is documentation. Anyway, I'm still not certain Django is the
> > right answer to my needs.
>
&g
On Wed, Mar 4, 2009 at 9:54 PM, ch...@secondfoundation.net
<ch...@secondfoundation.net> wrote:
>
> Hi group,
>
> as the subject says, I'm new to Django. I worked through some
> tuturials and djangobook.com for the 1.0.2 version as far as there
> already is document
Hi group,
as the subject says, I'm new to Django. I worked through some
tuturials and djangobook.com for the 1.0.2 version as far as there
already is documentation. Anyway, I'm still not certain Django is the
right answer to my needs.
What I want to do:
I need to write a web based admin
On Wed, Jun 4, 2008 at 6:37 AM, puff <[EMAIL PROTECTED]> wrote:
>
> The original code used a loop as you illustrated for the delete.
> Although I no longer have the original code, the annotated traces (see
> below) show the delete code in xx_xxraid was NOT invoked. This
> strikes me as at least
The original code used a loop as you illustrated for the delete.
Although I no longer have the original code, the annotated traces (see
below) show the delete code in xx_xxraid was NOT invoked. This
strikes me as at least a deficiency if not a bug.
initializexxNode
todo: tell SS delete
It is my understanding that the delete method you are calling is a
QuerySet method, not a model method, and thus there is nothing
overriding it. I'm sure that if you did this:
for x in xxRaid.objects.all():
x.delete()
Then your method will be called as desired. The overrides are for the
An hour later I know what caused the behavior and it seems to me to be
a Django bug or at least deficiency.
This behavior occurred during an initialization of the application.
First the table xx_xxnode was initialized by deleting all of its
records and then reloading the table from an external
RAW sql statement SELECT COUNT(*) FROM `xx_xxraid` shows table has 12
records.
In application statement
print '---xxx raids have', ESRaid.objects.count()
prints 0! Why?
I've imported connections and
print connection.queries[-1]
just after the count prints
{'time': '0.000', 'sql':
On May 21, 3:07 pm, nobody <[EMAIL PROTECTED]> wrote:
> Thanks!
>
No problem. Good luck.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Thanks!
I'm tired, typed something in wrong on the file in question. This is
pretty daunting at first, but I think I'll get it.
Appreciate the help.
On May 21, 5:59 pm, Jashugan <[EMAIL PROTECTED]> wrote:
> On May 21, 2:51 pm, nobody <[EMAIL PROTECTED]> wrote:
>
> > I'm going through the
On May 21, 2:51 pm, nobody <[EMAIL PROTECTED]> wrote:
> I'm going through the "Writing your first Django app" tutorial on
> djangoproject.com but I'm not getting very far, unfortunately.
ok
> >>> p = Poll.objects.get(pk=1)
> >>> p.choice_set.create(choice='Not much', votes=0)
>
> Traceback
n self.question
AttributeError: 'Choice' object has no attribute 'question'
Unfortunately I can't even think of how to troubleshoot this as I'm
brand spanking new to Django and Python, so my knowledge in PHP isn't
doing me a whole lot. The documentation is written with sort of a
condescending tone wh
gt;
> []s
> Diego Ucha
>
> On 20 maio, 18:40, puff <[EMAIL PROTECTED]> wrote:
>
> > I'm rather new to Django and working on a site that will need to do
> > the usual Django things by way of serving DB backed dynamic pages. It
> > addition it needs to serve JSON a
18:40, puff <[EMAIL PROTECTED]> wrote:
> I'm rather new to Django and working on a site that will need to do
> the usual Django things by way of serving DB backed dynamic pages. It
> addition it needs to serve JSON and make JSON requests.
>
> For the moment, I'm just experime
I'm rather new to Django and working on a site that will need to do
the usual Django things by way of serving DB backed dynamic pages. It
addition it needs to serve JSON and make JSON requests.
For the moment, I'm just experimenting with some very simple tests
using Django's development web
Can you post the code 5 lines before and after the one that's giving
you the error?
Many times python will report a syntax error in one line that's
actually caused by a missing parenthesis, semicolon, etc., in a line
before.
On May 6, 9:58 am, Jason Ourscene <[EMAIL PROTECTED]> wrote:
> I tried
I tried with the space and without the space and i am still getting
that error.
what do you think?
On May 6, 12:28 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 06-May-08, at 9:37 AM, Jason Ourscene wrote:
>
> > def __unicode__(self):
>
> def __unicode__(self): <- space after
On 6 mei, 06:32, Norman <[EMAIL PROTECTED]> wrote:
> and what editor do you use?
> some advice?
Geany (PC & Linux, Mac probably too) is the one I use.
As for books, Core Python Programming is invaluable (to me at least) -
see
On 06-May-08, at 10:02 AM, Norman wrote:
> Kenneth Gonsalves escribió:
>>
>> On 06-May-08, at 9:37 AM, Jason Ourscene wrote:
>>
>>> def __unicode__(self):
>>
>> def __unicode__(self): <- space after 'def'. If you use a
>> python editor it will find errors like this
>>
> and what
Kenneth Gonsalves escribió:
>
> On 06-May-08, at 9:37 AM, Jason Ourscene wrote:
>
>> def __unicode__(self):
>
> def __unicode__(self): <- space after 'def'. If you use a
> python editor it will find errors like this
>
and what editor do you use?
some advice?
--
Norman F. Sáez
On 06-May-08, at 9:37 AM, Jason Ourscene wrote:
> def __unicode__(self):
def __unicode__(self): <- space after 'def'. If you use a
python editor it will find errors like this
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/
So i got it django up and running on my mac and am totally excited to
get started, i got a bit into the tutorial when i got to the point
where it asked me to add the __unicode__ method to my model. When i
add it to my model and try to use the shell i get this error. If you
anyone can help me
Hey Mike,
I can add this to the Django Plugables directory if you'd like. Let me
know. :)
Cheers,
Bryan
On Apr 27, 10:36 am, Mike H <[EMAIL PROTECTED]> wrote:
> Oh, and it automatically filters the model's querysets by the current
> site. Kinda important that it does that, and I forgot to
Oh, and it automatically filters the model's querysets by the current
site. Kinda important that it does that, and I forgot to mention it,
heh.
Cheers,
Mike
On 27 Apr 2008, at 18:29, Mike H wrote:
>
> Hi all,
>
> I've been putting together a site using projects from
>
Hi all,
I've been putting together a site using projects from
djangopluggables.com. It's been going great, except in one area. My
site is going to run across various subdomains, and you will see
different groups, forums, blog etc. depending on which subdomain you
go to (it's like a
Hi everybody,
I am new to django, I am planning to create my own tool using django. The
tool is my learning practise to use Django in a better way.
The tool i am planning is I need to upload files A,B which would give me the
result as three files one is the A unique data, other is B unique data
> wrote:
> Hi everybody i am new to django,
>
> I am trying to create my own project using django,
>
> I have a got an error when in logged in with the password and user name
>
> the error is
> Request Method: GET Request URL:http://192.168.5.26:8000/admin/ Exception
> Typ
Hi everybody i am new to django,
I am trying to create my own project using django,
I have a got an error when in logged in with the password and user name
the error is
Request Method: GET Request URL: http://192.168.5.26:8000/admin/ Exception
Type: ProgrammingError Exception Value: (1146
:
http://groups.google.com/group/django-users/browse_thread/thread/4405a8c8c2319bd4
Cheers,
Brandon
Beema shafreen wrote:
> Hi everybody i am new to django,
>
> I am trying to create my own project using django,
>
> I have a got an error when in logged in with the passwor
Hi,
I'm new to djando too, but try issue this command in your project
direcotry: python manage.py syncdb. Don't forget to check your database
configuration.
Good luck.
Ronaldo
On Wed, 2008-02-06 at 18:38 +0530, Beema shafreen wrote:
> Hi everybody i am new to django,
>
> I am trying
* openid url
Idee is having ma.gnolia workflow to integrate openid and legacy
authentification.
If the use connect with an openid he could associate it with its
legacy account or just create a new django account. When the use is
connected you could manage him like you usually do with auth
Using the code listed (return render_to_response) is going to
cause a page refresh (a synchronous operation), if you are trying to
use ajax (asynchronously), you should stick the html from the form and
the entry into a json or xml object to return to your javascript
callback. This is
On Sep 11, 3:11 pm, garonne <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I 've started playing with Django which seems very well for what i
> need but i still can figure out how to implement a very simple ajax
> example:
>
> I would like to have a form with a textarea and after pressing the
> button,
Hi,
I know it was just an illustration... My final idea is to implement a
browser for our system which could be represent as a file system. I've
found this beautiful interface for SVN :
https://xbmcajax.bountysource.com/svn/
This is in Ruby + Ajax but as our application is purely in python i
To be honest I'm not really sure the use of Ajax in printing a piece
of text from a field is that necessary. This could easily be acheived
using good old javascript.
On Sep 11, 3:25 pm, vincent garonne <[EMAIL PROTECTED]> wrote:
> * would like
>
> vincent garonne a écrit :
>
>
>
> > Hi,
>
* would like
vincent garonne a écrit :
> Hi,
>
> I would to do the same than this example:
>
> http://www.hackorama.com/ajax/
>
> Vince
>
> MikeHowarth a écrit :
>
>> I'm not entirely sure I follow your request.
>>
>> However using Ajax in Django is a fairly simple affair:http://www.b-
Hi,
I would to do the same than this example:
http://www.hackorama.com/ajax/
Vince
MikeHowarth a écrit :
> I'm not entirely sure I follow your request.
>
> However using Ajax in Django is a fairly simple affair:http://www.b-
> list.org/weblog/2006/jul/02/django-and-ajax/
>
>
>
> On Sep 11,
Hello,
I 've started playing with Django which seems very well for what i
need but i still can figure out how to implement a very simple ajax
example:
I would like to have a form with a textarea and after pressing the
button, i wish to see the form and the text print below. For some
reason i'm
I'm not entirely sure I follow your request.
However using Ajax in Django is a fairly simple affair:http://www.b-
list.org/weblog/2006/jul/02/django-and-ajax/
On Sep 11, 3:11 pm, garonne <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I 've started playing with Django which seems very well for what i
On Apr 26, 8:10 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 4/25/07, Jin Lee <[EMAIL PROTECTED]> wrote:
> > 5) Using apache, can you run a pool of django processes so that if one user
> > is doing something particularly heavy, it doesnt slow down the entire site?
> > (Basically what you do
On 4/25/07, Jin Lee <[EMAIL PROTECTED]> wrote:
...
> 1) how fast is django in Windows, specifically w/ SQL Server?
Most people use Django under Linux, but I understand many people use
apache + prefork + mod_python with good success.
> 2) Are there any known bugs or shortcomings with the SQL
Hello everyone,
I am a contract programmer new to python and django, but have been using
Java (8 years) and Ruby (2-3 years).
First, a quick story:
I utilize RoR quite extensively for a number of clients. One particular
client I have is on Win 2003 Server, Apache, SQL Server and RoR. I feel
On 12/18/06, Jeffrey Zelt <[EMAIL PROTECTED]> wrote:
> 3. My only serious request involves the DB API. The Django ORM is
> simply too limiting. I was not able to do what I wanted without jumping
> through hoops. I was forced to use the:
Yeah, it's a wart :(
There are definitely some
On 12/18/06, Jeffrey Zelt <[EMAIL PROTECTED]> wrote:
> 3. My only serious request involves the DB API. The Django ORM is
> simply too limiting. I was not able to do what I wanted without jumping
> through hoops. I was forced to use the:
>
> extra( where=..., params=..., tables=...)
Hey
On 12/18/06, Jeffrey Zelt <[EMAIL PROTECTED]> wrote:
...
> 3. My only serious request involves the DB API. The Django ORM is
> simply too limiting. I was not able to do what I wanted without jumping
> through hoops. I was forced to use the:
>
> extra( where=..., params=..., tables=...)
>
Jeffrey Zelt wrote:
> The Django ORM is probably the only piece of Django I am embarrassed
> showing other developers.
Oh really?
> I will not be satisfied if the current ORM is capable of fulfilling 95%
> requirements
You must be inexperienced if you think that an elegant solution to 95%
of
I just wanted to mention that I am wrapping up a new Django site after 7
months of development. It will be used to manage subscriptions for a
magazine published by a Norwegian university. So far it does not have a
public interface so I won't give out the link here (all you would see
On 10/25/06, Levi McCallum <[EMAIL PROTECTED]> wrote:
>
> Are applications aware of each other? I.E. Can they call each other?
Yes, with some minor restrictions.
Generally, they are just another python module, so a view from one
application can refer to a model from another, or a model can add
application. The only downside to the 'single app' approach
> would be that at a later date, if you wanted to write a new website
> with a media section, you need to extract from your old application
> the models and views that are useful, rather than just copying the
> entire 'media' a
On 25-Oct-06, at 7:58 AM, Levi McCallum wrote:
> For example, I have 3 sections. First an about page, an article page
> and a media page.
>
> I will later do the code for them, but, would I make a separate
> application for each? I really don't know how the MTV structure works.
start by making
ownside to the 'single app' approach
would be that at a later date, if you wanted to write a new website
with a media section, you need to extract from your old application
the models and views that are useful, rather than just copying the
entire 'media' application. This design aspect isn't anything new or
Ok then,
I might just ask some questions.
I'm not quite familiar with the whole 'application' side of things.
For example, I have 3 sections. First an about page, an article page
and a media page.
I will later do the code for them, but, would I make a separate
application for each? I really
On 10/25/06, Levi McCallum <[EMAIL PROTECTED]> wrote:
> But I am not fully convinced that I should choose Django. Should I?
Yes. :-)
Seriously, this is such an open ended question - nobody but you can
answer this question for you. Try it out, see how it goes. If you have
any questions, ask.
Hey guys,
I have started to look into the way of Web frameworks. See, I have been
a web developer ever since the humble beginings of php and I have
enjoyed making and designing websites.
A few months ago, I was hired by a company to work full time on a
content website called
You are always welcome!
Bye
Marcus
On 10/24/06, Przemek <[EMAIL PROTECTED]> wrote:
>
> Thank you to all for suggestions!
>
> Przemek
>
>
> >
>
--
Marcus Mendes
"A coragem é a forma de todas as virtudes em ponto de prova" C.S.Lewis
__
linuxUser
Thank you to all for suggestions!
Przemek
--~--~-~--~~~---~--~~
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,
On 23-Oct-06, at 7:55 PM, Przemek wrote:
> I found django too seem to taste the best. I would be thankful for
> suggestion on where to start (howto's, tutorials, articles
do the tutorial on djangoproject.com. Since you are a longtime python
programmer I guarrantee your website will be up and
Hi Przemek,
Welcome to the Django community!
As Marcus suggested, run through the tutorial on the offficial django
site (in the documentation section).
Then join the official django IRC channel
(irc://irc.freenode.net/django) - it's pretty active and friendly and
you should get questions
Hi Przemek,
I think the best local to get an introduce is www.djangoproject.com
... but you can find something at www.python.org (search by
mod_python). I hope this help.
Marcus
On 10/23/06, Przemek <[EMAIL PROTECTED]> wrote:
>
> Hi, I make my living as a software developer for about 15 years
Hi, I make my living as a software developer for about 15 years now and
python has been my primary programming language since its version
1.5.2. But I've never had any need for html (cgi) programming until
now. Time has come that my client asked for an CRM type of application
with www interface
Greetings,
(scroll down to CLIFFNOTES for the short version)
Here at my company, we're using python and Zope, though several of the
developers have been going on about how great Django is. I'm a systems
administrator by profession, and a php/mysql developer who has been
toying with dojo as
401 - 480 of 480 matches
Mail list logo