oh no, trying that ruined everything, now none of them work. I tried
again, and now "votes' works but "results" doesn't.. Again, is there
anyone who knows this code?
On Friday, October 23, 2020 at 2:38:15 PM UTC-7 rbar...@xcaretresearch.com
wrote:
> Someone suggest that I add "detail" to the
Someone suggest that I add "detail" to the urls.py code at
path('/", view detail, name="detail"
But that ruins everything.
On Friday, October 23, 2020 at 2:32:19 PM UTC-7 rbar...@xcaretresearch.com
wrote:
> My guess is that the index url is supposed to return "detail," but, then,
> why even ha
My guess is that the index url is supposed to return "detail," but, then,
why even have that "detail" function in the code? I think I have been
spending too long on this and need to move. I would appreciate it if
anybody would explain this to me. Adding "detail" to the functions just to
prov
Oh my. I figured it out partially. I was not entering the url correctly
in address bar. So, now, "results" and "votes" works but "detail" doesn't.
However, "detail" returns when I just enter the basic index url for a
given question_id, it just doesn't work for "detail". Is it supposed to b
Now I am in the situation where "votes" works but "detail" and "results"
does not work. So weird.. Well, I just checked "votes" to make sure it
works and it doesn't. "index works and takes me to "detail" which,
according to the tutorial, is what it supposed to do. Does anybody know
this code
Actually, I tried "votes" one more time and it did work.
On 10/21/20 12:02 PM, Kasper Laudrup wrote:
Hi rbar,
On 21/10/2020 20.34, rbar...@xcaretresearch.com wrote:
The error message shows that there is a match. What am I doing wrong?
No, the error message shows you that there *isn't* a mat
By the way, look at the tutorial and you will see that it is not written
the way you suggest for "path"/",views.detail,
name='detail')
The polls index page for a particular questioon_id refers to 'detail.'
Another interesting thing is that I just tried all three pages. "votes"
worked the othe
Hi Ralph,
First of all, when using a mailing list, forum or similar like this,
please reply to the list instead of the person answering you directly
(in this case me).
The point of forums and mailing lists like is to share help and information.
Anyway:
Thanks for the response, however, you
Hi rbar,
On 21/10/2020 20.34, rbar...@xcaretresearch.com wrote:
The error message shows that there is a match. What am I doing wrong?
No, the error message shows you that there *isn't* a match:
The current path, polls/3/detail, didn't match any of these.
Maybe change:
path('/', views.d
I can get to .localhost:8000/polls. but not /polls/detail ror /votes or
/results. Here is my code:
```
from django.urls import path
from django.contrib import admin
from . import views
urlpatterns = [
#es: /polls/
path('', views.index, name='index'),
# ex: /polls/5
path('/', views.detail, name=
In [31]: c = q.choice_set.create(choice_text='Just hacking
> again',votes=0)
> >
> >
> > In [32]: c.question
> >
> > Out[32]:
> >
> >
> > In [33]: q.choice_set.all()
> >
> > Out[33]: , ,
> ]>
> >
>
Hi Nitin,
Thank you!
I finally understood what you said.
Now working fine. Actually it was working, but I did not understand.
Thank you!
Nori
On Sunday, February 3, 2019 at 11:08:34 AM UTC-5, Nitin Kalmaste wrote:
>
> You have to add Choices for each questions you have created in database
> li
>]>
>
>
> In [34]: q.choice_set.count()
>
> Out[34]: 3
>
>
>
> choice exits, or correctly working?
>
> Nori
>
> On Sunday, February 3, 2019 at 10:55:48 AM UTC-5, Atsunori Kaneshige wrote:
>
> Hi Carsten,
>
> Sorry, are you ta
You have to add Choices for each questions you have created in database
like the process is same as you used for the questions.
On Sun, Feb 3, 2019, 8:53 PM Atsunori Kaneshige Hi Nitin,
>
> Thank you for your comment.
>
> I did
>
> jango-admin startproject mysite
>
> and cd mysite, then
>
> python
Atsunori Kaneshige wrote:
>
> Hi Carsten,
>
> Sorry, are you talking about Writing Your First App, Part2? The page below?
> https://docs.djangoproject.com/en/2.1/intro/tutorial02/
>
> Yeah, when I tried this, there was something wrong.
>
> *I did that again. I copied and paste
Hi Carsten,
Sorry, are you talking about Writing Your First App, Part2? The page below?
https://docs.djangoproject.com/en/2.1/intro/tutorial02/
Yeah, when I tried this, there was something wrong.
*I did that again. I copied and pasted my terminal below.*
*seems like migration was successful
On Sunday, February 3, 2019 at 10:22:56 AM UTC-5, Atsunori Kaneshige wrote:
>
> Hi Nitin,
>
> Thank you for your comment.
>
> I did
>
> jango-admin startproject mysite
>
> and cd mysite, then
>
> python manage.py runserver
>
> and server is working, so I did
>
> opython manage.py startapp polls
Hi Nitin,
Thank you for your comment.
I did
jango-admin startproject mysite
and cd mysite, then
python manage.py runserver
and server is working, so I did
opython manage.py startapp polls
polls app was successfully created, and stopped the server because I wanted
to user postgresql inste
Hi, copy and paste wouldn't actually make you understand Django. Try to
write the code yourself and you see how quickly your understanding grow.
On Saturday, February 2, 2019 at 10:02:14 PM UTC-5, Atsunori Kaneshige
wrote:
>
> Hi Django users,
>
> I started using Django recently.
> I am followi
Hi Nori,
does the choice actually exist?
Can you find it if you query the choices using the ORM in `./manage.py shell`?
Best regards,
Carsten
Am 03.02.19 um 03:59 schrieb Atsunori Kaneshige:
> Hi Django users,
>
> I started using Django recently.
> I am following the official Django tutorial.
Have you migrated database and added any question there?
On Sun, Feb 3, 2019, 8:39 AM Atsunori Kaneshige Oh, one note is that I am using postgresql.
> everything else except vote function in views.py seems working.
>
> Sorry, any help would be really appreciated!
>
> Nori
>
> On Saturday, Februar
Oh, one note is that I am using postgresql.
everything else except vote function in views.py seems working.
Sorry, any help would be really appreciated!
Nori
On Saturday, February 2, 2019 at 10:02:14 PM UTC-5, Atsunori Kaneshige
wrote:
>
> Hi Django users,
>
> I started using Django recently.
>
Hi Django users,
I started using Django recently.
I am following the official Django tutorial.
I am just at Writing Your First Django App, Part4, and I have been just
copying and pasting all codes.
But I have a problem in vote.
I inserted print(question) and this is printed in detail.html
also,
On woensdag 23 mei 2018 22:59:50 CEST Caleb Bryson wrote:
> Hey I am new to python and i am trying to use django to make my first web
> page. I know the basics of python but i am stuck on the step where you
> start your app. i made sure i have a directory and have installed south to
> help out
:(
Your manage.py file isn't in the right directory.
On Thu, 24 May 2018, 3:11 am Gerardo Palazuelos Guerrero, <
gerardo.palazue...@gmail.com> wrote:
> Please use djangogirls tutorial
>
> ---
> Gerardo Palazuelos
> Enviado desde mi iPhone
>
>
> El 23/05/2018, a la(s) 14:59, Caleb Bryson
> escribió:
Please use djangogirls tutorial
---
Gerardo Palazuelos
Enviado desde mi iPhone
El 23/05/2018, a la(s) 14:59, Caleb Bryson escribió:
> Hey I am new to python and i am trying to use django to make my first web
> page. I know the basics of python but i am stuck on the step where you start
> you
Hey I am new to python and i am trying to use django to make my first web
page. I know the basics of python but i am stuck on the step where you
start your app. i made sure i have a directory and have installed south to
help out but when i type "python mange.py startapp blog" it keeps giving me
Yes I got it Daniel Hepper. Thank you so much for your help.
On Wednesday, January 24, 2018 at 6:37:32 AM UTC, Daniel Hepper wrote:
>
> You are using the new syntax to define URLs from Django 2.0 with the old
> urls() method.
>
> If you are using Django 2.0, polls/urls.py should look like this:
>
You are using the new syntax to define URLs from Django 2.0 with the old
urls() method.
If you are using Django 2.0, polls/urls.py should look like this:
from django.urls import path
from . import views
urlpatterns = [
# ex: /polls/
path('', views.index, name='index'),
# ex: /polls/5/
Here is a repository that follows the tutorial step by
step: https://github.com/consideratecode/django-tutorial-step-by-step/
You can compare your code to what it should look like at the step where you
are stuck.
Alternatively, post your code and the exact error message here, as others
have su
Hi Anokeen,
On 2018-01-23 20:10, 'anookeen' via Django users wrote:
Hi , I am creating django app mentioned at this link
(https://docs.djangoproject.com/en/2.0/intro/tutorial02/). When I create
new views and add that into urls.py , the new urls aren't recognized
(such as it doesn't recognize t
hi anooken,
maybe you want to share your code or as an screenshot cause it does not
makes sense.
regards,
Gerardo.
--
Gerardo Palazuelos Guerrero
On Tue, Jan 23, 2018 at 12:10 PM, 'anookeen' via Django users <
django-users@googlegroups.com> wrote:
> Hi , I am creating django app mentioned at
Hi , I am creating django app mentioned at this link
(https://docs.djangoproject.com/en/2.0/intro/tutorial02/). When I create
new views and add that into urls.py , the new urls aren't recognized (such
as it doesn't recognize the question_id mentioned in part 3 of the
tutorial). Kindly help me o
1 AM UTC-5, Siddharth Shah wrote:
>
> Actually I was going through the first app example,
> https://docs.djangoproject.com/en/1.7/intro/tutorial03/
> On this particular part I am facing problem while executing
> http://localhost:8000/polls/
>
> Please find the attachment to see the ex
For me the development server tends to throw that error at random, but does
render the page correctly
On Thu, Jan 1, 2015 at 2:22 PM, Joel Goldstick
wrote:
>
>
> On Thu, Jan 1, 2015 at 3:55 AM, Siddharth Shah
> wrote:
>
>> Actually I was going through the first
On Thu, Jan 1, 2015 at 3:55 AM, Siddharth Shah
wrote:
> Actually I was going through the first app example,
> https://docs.djangoproject.com/en/1.7/intro/tutorial03/
> On this particular part I am facing problem while executing
> http://localhost:8000/polls/
>
> Please find the
Actually I was going through the first app example,
https://docs.djangoproject.com/en/1.7/intro/tutorial03/
On this particular part I am facing problem while executing
http://localhost:8000/polls/
Please find the attachment to see the exact error.
--
You received this message because you
Hi,
I am very new to web development and started learning django few days back
as I really like and enjoy Python. I have done the first tutorial and I
understand some of the basic concepts. I want to develop an app where I
need to record mouse clicks from the user, can someone please guide me t
from django.contrib import admin
from polls.models import Poll
class PollAdmin(admin.ModelAdmin):
pass
admin.site.register(Poll, PollAdmin)
On Thursday, 17 April 2014 00:03:03 UTC-4, Xiaofeng Feng wrote:
>
> I am now trying to set up my first app using django tutorial. However, I
; INSTALLED_APPS = (
> 'django.contrib.admin',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
>
Yes.
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'TestApp',
)
Did you register the app in settings.py?
2014-04-16 23:03 GMT-05:00 Xiaofeng Feng :
> I am now trying to set up my first app using django tutorial. However, I
> was stuck at adding the poll app in part 2. I think I followed all the
> steps and it goes well before this question. After
I am now trying to set up my first app using django tutorial. However, I
was stuck at adding the poll app in part 2. I think I followed all the
steps and it goes well before this question. After I change admin.py with
from django.contrib import adminfrom polls.models import Poll
which version of tutorial you working through?
which version of django did you use?
usually, with latest versions. your settings.py file should be in
.../myproject/myproject/ folder.
On Monday, September 23, 2013 2:04:07 PM UTC+4, Avril Lang wrote:
>
> So I'm obviously a newbie and working my way
So I'm obviously a newbie and working my way through the tutorial. I
created a project using startproject but whereas the tutorial is showing
that I should see various files in this directory (__init__.py,
settings.py etc) I can only see manage.py.
I can connect to the server using runserver
Thank you Matt, that answered my question!. Thank you so much, it was very
nice of you.
On Friday, August 24, 2012 6:36:33 PM UTC-5, MattDale wrote:
>
> Glad you are trying out Django.
>
> That error is telling you what's wrong The directory that you are in does
> not include the file "manage.
Glad you are trying out Django.
That error is telling you what's wrong The directory that you are in does
not include the file "manage.py". Depending on your operating system, when
you get this error, get the contents of the directory(windows, type dir and
press enter) if the outputted list d
Hello everyone,
I am doing the django tutorial.
https://docs.djangoproject.com/en/1.4/intro/tutorial01/
I am on the part where it says, "The development server". It says: Let's
verify this worked. Change into the outer mysite directory, if you haven't
already, and run the command python mana
Hello everyone, I'm brand new to django and would really appreciate any
help getting started.
So far I have gone through the first app tutorial and am working on my
first app.
I have setup the basic structure of the app and also figured out user
authentication. The code is on github:
Hi Arthur,
Thanks for your post. It was one of the first I found perfectly aligned with
my current issue: showing the look & feel one would expect, while following
the official django tutorial at
http://docs.djangoproject.com/en/dev/intro/tutorial02/ using django's
default *development server*
Aaaah cheers, I knew there was something fundamentally wrong. Got it
working now.
On Dec 9, 6:58 pm, Martin Melin wrote:
> On Thu, Dec 9, 2010 at 7:03 PM, Joe wrote:
> > Ok, so when I do exactly as the tutorial says, I get hella errors. I
> > change directory to where I want to store my project
On Thu, Dec 9, 2010 at 7:03 PM, Joe wrote:
> Ok, so when I do exactly as the tutorial says, I get hella errors. I
> change directory to where I want to store my project which goes fine,
> then:
django-admin.py startproject mysite
> SyntaxError: invalid syntax
>
> with 'startproject' highlight
Ok, so when I do exactly as the tutorial says, I get hella errors. I
change directory to where I want to store my project which goes fine,
then:
>>> django-admin.py startproject mysite
SyntaxError: invalid syntax
with 'startproject' highlighted. The django-admin.py file is in the
directory I chang
hi sameer
can you Give me more explanation? and i don't know how can i access to
freenode for IRC .please guide me
tanx
On Wed, Aug 4, 2010 at 4:30 PM, Sameer Rahmani wrote:
> hi , congratulation.
>
> why don't you use a VCS like git or mercurial ?
>
> --
> You received this message because
hi , congratulation.
why don't you use a VCS like git or mercurial ?
--
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-user
Hi dear friends
finally , i finish my first app tutorials of djangoproject.com . i
want to share this whith u ,
i wish it'll be helpfull .
note to change dir template in setting,py .
http://www.4shared.com/file/23TzJzLt/mysite.html
--
You received this message because you are subscribed t
for test server i add the following lines in settings.py
import os
SITE_ROOT = os.path.realpath(os.path.dirname(__file__))
STATIC_DOC_ROOT = os.path.join(SITE_ROOT, 'media/')
and add the following lines in urls.py
if settings.DEBUG == True:
urlpatterns += patterns('',(r'^site_media/(?P.*)$
I'm using svn install. I am using the same virtualhost for django and
static files, with ADMIN_MEDIA_PREFIX set to '/media/', which I
believe was the default.
The admin app works fine so far, but the server gives me a 404 on the
css files:
Using the URLconf defined in testproject.urls,
AHA, both of those were the problem :)
got my hello world working, im sure i'll have many more questions!
Thanks!!!
On Aug 10, 5:06 am, gumbah wrote:
> Whoops... i see now that it never even finds your urs.py so it must be
> something wrong with the configuration on webfaction...
>
> you have
Whoops... i see now that it never even finds your urs.py so it must be
something wrong with the configuration on webfaction...
you have to look into your /webapps/PROJECT_NAME/apache/conf/
httpd.conf file to see if everything is setup correctly.
On Aug 10, 12:01 pm, gumbah wrote:
> I read "from
I read "from mysite.views import hello " in your code...
are you sure your webapp is in the "mysite" folder?
best regards
On Aug 10, 1:45 am, "ezulo...@gmail.com" wrote:
> So i am very new to django and have a little python experience. im
> using webfraction to host my application and followed
I m not sure if webfaction automatically deploy your django
application, but I guess to need to configure server settings. For
instructions on deploying
http://docs.djangoproject.com/en/dev/howto/deployment/#howto-deployment-index
--~--~-~--~~~---~--~~
You received
So i am very new to django and have a little python experience. im
using webfraction to host my application and followed their
instructions on starting a django webapp. i have the server up and
running and im using the 1.0 documentation at djangobook.com, and
running django 1.0 for my webapp. I ca
I haven't read the tutorials in a while, but shouldn't it be
http://localhost:8000/admin/ instead of http://localhost:8000/*polls/*admin/
?
Regards,
Reiner
On Mar 17, 6:53 pm, Gustavo Senise wrote:
> Hello fellows,
>
> I am starting the django first app and I am having a li
> I suspect it might be a bug with a change in Django I made today --
> are you running Django out of SVN?
Er, no, the bug I thought was there isn't. Still, it'll always help to
tell us what version of Django you're running.
Jacob
--~--~-~--~~~---~--~~
You receiv
On Tue, Mar 17, 2009 at 12:53 PM, Gustavo Senise
wrote:
> I am trying to access http://localhost:8000/polls/admin/ and getting a error
> 'MediaDefiningClass' object is not iterable.
>
> Can anyone help!?
Can you post the full traceback?
I suspect it might be a bug with a change in Django I made
Hello fellows,
I am starting the django first app and I am having a little trouble trying
to understand why the admin area is not working after I changed the views to
the Generic Views. Well, I can't access the admin area anymore.
It seems that the tutorial doesn't cover the url for a
> Each time what? It's a development server, expected to be used as you
> develop your code. It's pretty good but not perfect about re-loading itself
I typically do a long-term development session for a day or two...
then go off an do another project for a while (a couple days.) So I'd
shut eve
;
Development server is running at http://127.0.0.1:8000/
response. Hoo-ray!
Next, in "Writing your first app..." it says, "Now that the server’s
running, visit http://127.0.0.1:8000/ with your Web browser. You’ll
see a “Welcome to Django” page, in pleasant, light-blue pastel. It
worke
On Sat, Aug 23, 2008 at 10:42 PM, Rob Erbaron <[EMAIL PROTECTED]>wrote:
>
> Next question: Is there a way to set up this development server as a
> service so I don't have to start it from a terminal each time?
>
Each time what? It's a development server, expected to be used as you
develop your c
> First question: are you really running the development server on your
> local box?
Yes, definitely the local box. Well, let me clarify... I've got Python
and Apache on the local box but my Apache Web root is actually on a
share on another box (my file server). But I just point to /home/rob/
pat
SOLVED. (and a followup question)
I was running "python manage.py runserver" in a terminal, and then hit
Ctrl-C... and then called up my Web browser.
So, duh, I was shutting down the server in the terminal window and
THEN browsing
Jeesh. /shakes head/
Leaving the terminal window open, runn
"python manage.py runserver 0.0.0.0:8000" is always easier than
looking up the IP address using ifconfig -- It simply listens on all
IP addresses. :)
Erik
On 24.08.2008, at 4:13, Jeff Anderson wrote:
> Rob wrote:
>> Not for me! :( I get a "Unable able to connect. Firefox cannot
>> establish
Rob wrote:
Not for me! :( I get a "Unable able to connect. Firefox cannot
establish a connection to the server at 127.0.0.1:8000" message. I've
searched the group messages and there are only a handful of
(unrelated) messages about this.
First question: are you really running the development se
In order to that it appears I need to install "svn"
I downloaded it in one fashion, but it involved a build with little
instruction.
So I'm fishing another route to do it.
Thanks for your pointer btw.
On Feb 8, 11:25 pm, js <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> OS X has pre-installed apache
Hi again,
OS X has pre-installed apache and Python, but you still have to
install Django yourself.
Get the latest version from http://www.djangoproject.com/download/
and try installing.
Thanks
On Feb 9, 2008 3:21 PM, newbiedoobiedoo <[EMAIL PROTECTED]> wrote:
>
> howdy,
>
> i have osx 10.4.10,
howdy,
i have osx 10.4.10, and see that i do have python. but "import
django" failed!
i'm slightly unsure how i proceed from here, although I have spent
some
hours reading various things about installation. Should I install
apache?
I'm planning to build a simple web-db app.
Many thanks...
-
yes, i have the correct files in the correct places.. i just can't
figure out why it doesn't work..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
On Friday 24 March 2006 16:49, sergio_101 wrote:
> but no matter what happens, i get this:
>
> ViewDoesNotExist at /opps/
> Could not import learningOpps.opps.views. Error was: cannot import
> name opps
>
> can someone tell me what i am doing wrong?
Have you created __init__.py files in the rele
i am having a rough time getting my first app running..
i made a new project called "learningOpps"
the admin works fine..
i set up a new application called "opps"..
everything seems to have built just fine..
the problem is..
now, i added this to my urls:
>
> Russell Keith-Magee writes:
> I will gladly try and give feedback about the docs.. just wanted to know
> what is the best place to send the feedback to. This list or the
> developers
> list?
there is a space for comments on the docs at the foot of each doc - that
is the recommended place
kg
Joseph Heck writes:
> I've had very good luck with the tickets when they're explicit - most got
> added very quickly, and the ones that didn't had a quick note to let me
> know why.
Thanks for the pointer.
I get to do most of my learning/hacking on weekends.. so look forward to
going over th
I've had very good luck with the tickets when they're explicit - most got added very quickly, and the ones that didn't had a quick note to let me know why.-joeOn 3/21/06,
Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
On 3/22/06, Francisco Reyes <
[EMAIL PROTECTED]> wrote:
Russell Keith-Magee wri
On 3/22/06, Francisco Reyes <[EMAIL PROTECTED]> wrote:
Russell Keith-Magee writes:I will gladly try and give feedback about the docs.. just wanted to knowwhat is the best place to send the feedback to. This list or the developerslist?
The user list would be preferable to the developer list, but if
Russell Keith-Magee writes:
Malcolm Tredinnick <[EMAIL PROTECTED]>
> Do you have any specific suggestions? We're always keen to make
> improvements, but it is difficult to improve if people say "it sucks"
> without giving suggestions.
That's why I asked if there was a particular place to send f
On Tue, 2006-03-21 at 19:28 -0500, Francisco Reyes wrote:
> Following the tutorial I completed up to "python manage.py install polls".
> The tutorial doesn't explain how to actually see what one has done so far
> and moves to playing with the API.
>
> How do I view the poll?
At the point that
On 3/22/06, Francisco Reyes <[EMAIL PROTECTED]> wrote:
>
> Following the tutorial I completed up to "python manage.py install polls".
> The tutorial doesn't explain how to actually see what one has done so far
> and moves to playing with the API.
>
> How do I view the poll?
Its later in the tutor
I'd suggest moving on through the tutorial, and, as the end of
Tutorial 2 states, "When you're comfortable with the admin site, read
part 3 of this tutorial to start working on public poll views." That's
where you can start seeing the poll app's public view.
"Playing with the API" actually = "lea
Following the tutorial I completed up to "python manage.py install polls".
The tutorial doesn't explain how to actually see what one has done so far
and moves to playing with the API.
How do I view the poll?
Any better tutorials anyone would recommend? I find the installation and
tutorials in
I can't post the full code, it was written for a client and has some
secret sauce that I am not at liberty to share, but I'll try to find
the time to develop a santized example.
In the meantime here is the relevent model part. the thing being
reserved is the server, but it could really be anythin
do post a full example :)
--~--~-~--~~~---~--~~
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, send email to [EMAIL
On Sunday 19 Mar 2006 12:26 pm, coulix wrote:
> please do.
?
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
please do.
--~--~-~--~~~---~--~~
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, send email to [EMAIL PROTECTED]
For
I could handle it better, but by catching the exception I get a list of
all of the reservations that are 'in the way'
In the view code:
try:
new_reservation =
server.add_reservation(trainer=trainer,start=start,end=end)
except AlreadyReserved, e:
error = 'Please choose another server,
Hi Aaron,
i have one question-how do u handle AlreadyReserved exception? I woould
like to make some checks before saving some things in admin interface
but i dont know how may i tell the user that there is some error...
Aaron wrote:
> I just wanted to drop a note about a new app that I deployed.
I just wanted to drop a note about a new app that I deployed.
I recently launched a prototype and users are happy.
Basically it uses the gamespy API to query gamespy for a list of active
game servers, then contacts each server in turn to obtain critical
stats (map being player, number of players
96 matches
Mail list logo