go as the
tutorial??
The sense of achievement is great once the view function starts to working
and progress are being made.
I hope you could figure out your problem soon.
Cheers~
Mie Rex於 2016年4月27日星期三 UTC-7下午7時02分56秒寫道:
>
> I had a smiliar problem with another Django tutorial.
>>
most dangerous phrase in the language is, "We've always done it this
> way."
>
> - Grace Hopper
>
> On 28 April 2016 at 11:25, Mie Rex >
> wrote:
>
>> Hello everyone, I am new to Django and quite new to Python as well.
>>
>> I came across this advice
>
> I had a smiliar problem with another Django tutorial.
>
I was running Django with Anaconda environment and I took the advice from
"Two Scoop Django" to have all projects stored in one directory and all the
environment in another. Therefore the project "mysite" was initialized and
put in a
to make a unique object on the
response of the program. Does anyone have any tips for making this happen.
Thanks
On Monday, October 21, 2013 2:55:33 AM UTC-7, Daniel Roseman wrote:
>
> On Monday, 21 October 2013 01:24:22 UTC+1, Ideo Rex wrote:
>
>> Hello,
>> I'm relati
Hello,
I'm relatively new to Django. So I have a working (local) web application.
I can create new model objects from the admin site, but I would like my
users to be able to create their own objects and save them to the database.
I'm really confused on the over arching process on how this is dow
re you referencing your static files from your
> templates?
>
> _Nik
>
> On 8/21/2013 6:09 PM, Ideo Rex wrote:
> > Hello,
> > I have a different request that I couldn't find anywhere else on the
> > internet. I'm an intern who has built a Django Web A
Hello,
I have a different request that I couldn't find anywhere else on the
internet. I'm an intern who has built a Django Web Application for my
project (basically a large experiment). The cite will never leave
development, but I'm holding my static files and templates on another
server. I wan
is will give me the ability to keep my db and forms sync.
Thank you for any help
Rex
disclaimer: I know about ModelForm and all that, but I want to see if
there is a way to inspect a Model's meta data and field options. I
found functions like get_field_by_name() but they are not in the
django do
employment posting websites, but they seemed more
geared toward posting jobs or large freelance projects, not something
small like this.
Thanks,
Rex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&q
There are situations on my site where I'd like to show the a page
telling them what they did wrong: their browser doesn't support
cookies, they erroneously try to re-submit a form, and so on.
However, I want to be notified by email whenever a user encounters one
of these errors, since I want to m
Kind of a petty question:
I've been using PyDev to do my Django work and find it to be great.
However, my only gripe is that it's hard to keep track of tabs, since
they display only the (non-qualified) file name, which is a problem
given Django's very regular naming scheme. So for example I'll of
method is
defined for Ducks but not for Animals. I am running into a situation
where I would like to call the quack() method if the room's animal is
an instance of Duck. Is there some way to do this?
Regards,
Rex
--~--~-~--~~~---~--~~
You received this message be
tered my email address
- I ensured that Postfix is installed and running
Is there anything else I need to do? I will gladly provide any extra
information to troubleshoot this.
Rex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
On May 23, 1:40 am, Daniel Roseman
wrote:
> On May 23, 5:07 am, Rex wrote:
> > On May 22, 4:33 pm, "R. Gorman" wrote:
> > > On May 21, 10:48 pm, Rex wrote:
>
> > > > I have the following code in a view, where UserSurveyForm is a
> > > &g
our data might provide some insight.
>
> R.
>
> On May 21, 10:48 pm, Rex wrote:
>
>
>
> > I have the following code in a view, where UserSurveyForm is a
> > ModelForm.
>
> > f = UserSurveyForm(request.POST, instance=thisuser)
> > if f.is_valid():
I have the following code in a view, where UserSurveyForm is a
ModelForm.
f = UserSurveyForm(request.POST, instance=thisuser)
if f.is_valid():
[...]
When I try submitting valid data, this works fine. However, when I
submit an incomplete form, I get the following traceback:
[...]
50.
n't appear to inherit the filters that get loaded. Is this
correct?
Thanks,
Rex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-
e list of Users, have the "country" column
contain a hyperlink that takes me to that particular Country object.
(2) When I'm looking at a Country object, show the set of all users
that have a ForeignKey to this Country, along with a hyperlink to
those User objects.
Any tips would
your report that X
> participants had the same IP address and have therefore been
> excluded).
>
> Cheers,
>
> Will
Thanks Will and Malcolm for the answers. That is just what I was
looking for. It works great.
Best,
Rex
--~--~-~--~~~---~--~~
You
that I block off users from IP
addresses that have already submitted the survey. What modules/
functions would I use to do this?
Thanks,
Rex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On Mar 14, 7:52 pm, Rex wrote:
> On Mar 4, 12:47 pm, John Maines wrote:
>
>
>
> > Hello:
>
> > I've installed Django 1.0 on Ubuntu and am trying to get it to run on
> >Apache.Apacheis installed, working fine, with mod-python also in
> > place. I
ead
of launching the Django project I attempt to specify in my
directive.
I have a project called "mturk". I want to run it on from mysite.com/
myapp. Based on the answers to the OP's questions, it seems like I
should be putting something like this in one of my confi
would have the same name (unless there's an easy
workaround).
- Is copying a Django project to another machine/directory simply a
matter of transferring the project's directory to the desired
location, or does some other work have to be done first to
assigning to request.session, all the other variables referring to
> that object will see the updates.
>
> Cheers,
> Malcolm
Thanks for the helpful reply, Malcolm! It makes perfect sense now.
Cheers,
Rex
--~--~-~--~~~---~--~~
You received this message
I'm reading the documentation on sessions (http://
docs.djangoproject.com/en/dev/topics/http/sessions/?from=olddocs) and
saw the following example:
def post_comment(request, new_comment):
if request.session.get('has_commented', False):
return HttpResponse("You've already commented.")
On Jan 9, 11:51 pm, "Karen Tracey" wrote:
> On Fri, Jan 9, 2009 at 10:55 PM, Rex wrote:
>
...
> > I Googled around, and the only thing I found was this comment:
>
> > "you have to change the file association from (cant remember) to "%1″
>
I installed Django on my Vista box. Using the Windows command shell, I
go to the site-packages/django/bin directory and here's what I get
when I type various commands:
> django-admin.py help
Type 'django-admin.py help' for usage.
> python django-admin.py help
[This gives me the proper help instr
ocuments?
All documents belonging to users that we have terminated for abuse
are deleted at the point of termination. Scribd will not provide
backups or access to these deleted documents.
How does Scribd define "abuse?"
Abuse is any activity that detracts
y, and it works.
Thank you much for your help.
Now if I can just understand the level of abstraction...
-rex
--
I ain't goin' to buy my kids an encyclopedia. Let them walk to
school the way I did.
--~--~-~--~~~---~--~~
You received this message because you are
Running Debian Lenny, I uninstalled Django 0.96-2, installed
Django beta 1, and downloaded Django-survey. The result of running
it is below. Any help appreciated, thanks.
-rex
XXX:~/djcode/django-survey-read-only$ python examples/manage.py runserver
Validating models...
Unhandled exception in
it *should* be in the view anyway??? it's logic...
but it should be possible? Something like this would work...
although.. it's hideously innefficient.
{% for row in data %}
{% for key,val in row.items %}
{% for field in fields %}
{% ifequal field key %}
{{ key }}: {{ val }}
{% endifequal %}
{% e
has the option "Enter another address", and if he clicks on that
button, a new set of fields is created, and which the a user can fill
out the new address, and can keep adding new addresses until he feels
he is finished.
What is the easiest way to do this
Hi,
Is there any solution to the below described problem? I still haven't
been able to get it to work.
Best,
Rex
On Dec 20, 3:11 am, Rex Eastbourne <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm going through the Django tutorial for Django 0.9.6 on Windows
> Vista.
Thanks to both of you! I got it working. I also checked out
InstantDjango; reminds me of InstantRails, which I liked.
Rex
On Dec 19, 10:03 pm, cjl <[EMAIL PROTECTED]> wrote:
> Rex:
>
> You might want to check out my stupid little project:
>
> http://www.instantdjango.com
&g
lateSyntaxError, appended below. Any ideas on how to fix this? The
only thing I did outside of the tutorial instructions was to follow
the fix described here because of an apparent flaw with 0.96.:
http://forums.devshed.com/showpost.php?p=1856484&postco
http://addons.xampp.org/project/3.html
But I'm still unsure about where to place the files in the 'lampp'
folder.
Any advice?
Thank you,
Rex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Hello.
I'd be interested in helping with writing a Capistrano replacement for
Django in python (not a port!).
I'm relatively new to django sites, but quite an old hand at python.
Regarding names... surely this is the least important part of a
project like this :)
My 2c though: dojango! T
Thanks for the insight!
Though I myself like to have new development open to the community,
my client insists that he own the code, I have no choice.
I wish to us django in a big way and delight him :)
On Jan 7, 4:45 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On
Hi,
I understand the terms of the BSD license. One thing still eludes me:
What if I want to develop a web application / enterprise application
which I want to sell to a company. Does the license terms allow it?
Django will be delivered in terms of BSD license. But what about thee
code we have w
39 matches
Mail list logo