Not sure your question is best suited for this mailing list as this seems
to be a JavaScript question and not Django related, but maybe you are
running into the the same-origin policy:
http://en.wikipedia.org/wiki/Same-origin_policy
It helps to include a code snippet as it's difficult to
I tested the link and the link returns me a XML in the browser. In my
external javascript document, I try to use get XMLhttprequest to get the
document but it fails. The readystate=4 but status=0. Does anyone know the
reason? Thanks.
--
You received this message because you are subscribed to
thank you, it is helpful for me. thank you very much :)
On Saturday, June 22, 2013 at 8:24:27 AM UTC+7, asa...@princeton.edu wrote:
>
> Thank you! I'm always amazed at how quickly and accurately people respond
> in this group--much appreciated.
>
> Alok
>
> On Friday, June 21, 2013 9:18:59 PM
On 14 Mar 2015 12:22, "John" wrote:
>
>
> Dariusz,
>
> You've declared ask_number() as an instance method in class Hand. You are
calling it as if it was a class method. See
https://docs.python.org/3.1/tutorial/classes.html.
>
In other words, you have to first create
Change your method:
def ask_number(self,question,low,high):
response=None
while response not in range(low,high):
response=int(input(question))
change self to class:
This way you can call the method directly from Hand.
@classmethod
def
http://dev.mysql.com/doc/connector-python/en/connector-python-django-backend.html
On Sat, Mar 14, 2015 at 9:52 AM, Shichand Chandran <
shichandchandran...@gmail.com> wrote:
> could some one help us
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django
could some one help us
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to
Dariusz,
You've declared ask_number() as an instance method in class Hand. You
are calling it as if it was a class method. See
https://docs.python.org/3.1/tutorial/classes.html.
John
On 14/03/15 08:30, Dariusz Mysior wrote:
> Mam jeden problem nie wiem dlaczego mam bład
> I have problem with
Hi there.
I use Django 1.6 version.
I have already developed the system which works for single user.
But, now, all models can be seen by admin user.
I must split the user on per-user on admin web page.
One can not see each other's admin page.
Could you tell me how do you set settings?
Hi there.
I use Django 1.6 version.
I have already developed the system which works for a single user.
For later plan, I would split the models on per-user.
This is the model below which I must split on per-user.
class Questions(models.Model):
qid = models.IntegerField(
Hi there.
I use Django 1.6 version.
I have already developed system which develop.
But, the system has designed mistook the logical design.
I must split the models on a per-user.
This is the model below which I must split on a per-user.
class Questions(models.Model):
qid =
Hi there.
I use Django 1.6 version.
I have already developed system which develop.
But, now, all models can be seen by admin user.
I must split the user on a per-user on admin web page.
I want to not see a model that each other is owned by another user.
Could you tell me how do you set
Mam jeden problem nie wiem dlaczego mam bład
I have problem with this bug :/
Traceback (most recent call last):
> File "C:\Python31\makao.py", line 23, in
> nr_players=Hand.ask_number("Ilu graczy ma wziąść udział w grze
> (2-5):",low=2,high=5)
> TypeError: ask_number() takes exactly 4
Thanks everybody,
I will try to change the database and user name. I found the data. I had
two installations of postgres.
I appreciate your help in this
Sabine
Am Freitag, 13. März 2015 14:30:49 UTC+1 schrieb John Fabiani:
>
> Have you
DearAll,
How can i collect profile information (E.g.: user_id and name..etc.) from
MySQL database?
Thanks and Regards,
Terence
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from
15 matches
Mail list logo