I apologize, I'm new to Django and Python...I've tried every which way I
know how based on what you described, and I can't find success.
Here is what I'm at right now:
http://dpaste.org/7JcGT/
I get this error: 'DeleteCommunityImages' object has no attribute 'GET'
Full traceback: http://dpaste.
On 19-8-2012 2:26, Barry Morrison wrote:
> I have a view that displays images and gives me the ability to delete the
> images.
>
> View url == /account/community/images/1 (1 == event_id)
Change to:
.
Keep passing this return_to parameter around. It helps to use the
request context processor s
I have a view that displays images and gives me the ability to delete the
images.
View url == /account/community/images/1 (1 == event_id)
That url will display all images associated with event_id=1
Each image displays a 'delete' url that calls
/account/press/page/delete/{{ image.pk }} -- t
I figured it out. Thanks. I ran all the source scripts separately and it
didn't work, but with I entered the source scripts into the terminal all at
once for some reason it magically worked.
I know what I'm talking about. No need to return with discontent. I've been
at this for computer bus
On Saturday, August 18, 2012 5:54:43 PM UTC-4, Amyth wrote:
>
> what do you meant by "django to go into python" ?? Once you execute
> "python setup.py install " from the django package it automatically
> install django inside python 'site-packages'. ??
>
> On Sun, Aug 19, 2012 at 3:19 AM, phil
what do you meant by "django to go into python" ?? Once you execute
"python setup.py install " from the django package it automatically
install django inside python 'site-packages'. ??
On Sun, Aug 19, 2012 at 3:19 AM, phil archambault
wrote:
>
>
> On Saturday, August 18, 2012 5:46:53 PM UTC-4, ph
On Saturday, August 18, 2012 5:46:53 PM UTC-4, phil archambault wrote:
>
>
>
> On Saturday, August 18, 2012 5:32:26 PM UTC-4, Daniel Roseman wrote:
>>
>> On Saturday, 18 August 2012 22:12:58 UTC+1, phil archambault wrote:
>>>
>>>
>>>
>>> On Saturday, August 18, 2012 5:02:03 PM UTC-4, Thomas wrote
On Saturday, August 18, 2012 5:32:26 PM UTC-4, Daniel Roseman wrote:
>
> On Saturday, 18 August 2012 22:12:58 UTC+1, phil archambault wrote:
>>
>>
>>
>> On Saturday, August 18, 2012 5:02:03 PM UTC-4, Thomas wrote:
>>>
>>>
>>> On 2012-08-18, at 1:28 PM, phil archambault wrote:
>>>
>>> > Hey djang
On Saturday, 18 August 2012 22:12:58 UTC+1, phil archambault wrote:
>
>
>
> On Saturday, August 18, 2012 5:02:03 PM UTC-4, Thomas wrote:
>>
>>
>> On 2012-08-18, at 1:28 PM, phil archambault wrote:
>>
>> > Hey django users I'm trying to figure out how to dl and install django
>> into py, but I'm n
On Saturday, August 18, 2012 5:02:03 PM UTC-4, Thomas wrote:
>
>
> On 2012-08-18, at 1:28 PM, phil archambault wrote:
>
> > Hey django users I'm trying to figure out how to dl and install django
> into py, but I'm not having any luck with this issue. I have followed the
> directions down to th
On 2012-08-18, at 1:28 PM, phil archambault wrote:
> Hey django users I'm trying to figure out how to dl and install django into
> py, but I'm not having any luck with this issue. I have followed the
> directions down to the tee and issue still stands, any help help would be
> greatly apprecia
Hey django users I'm trying to figure out how to dl and install django into
py, but I'm not having any luck with this issue. I have followed the
directions down to the tee and issue still stands, any help help would be
greatly appreciated!
--
You received this message because you are subscribe
Thanks!!
It is very helpful!!
Have a great weekend!
On Friday, August 17, 2012 6:29:06 PM UTC-4, Kurtis wrote:
>
> In this case, you are using a 'named URL' in the Admin namespace. Here's
> two links that may help you learn a bit more about this topic.
>
> https://docs.djangoproject.com/en/dev/
>
> Here I can store the value for the relationship when saving the Model in
> the DB.
>
> If anyone has a better solution, suggestion, comment or thinks this is
> going
> to make me rot in hell please let me know.
>
Well, I kept on reading and I found a clean solution :
It's explained here, the
Your Static Dir is not defined in the Server (Nginx) configuration. So
as Melvin said you'll need to create an alias for your static dir in
your server configuration file.
On Sat, Aug 18, 2012 at 7:40 PM, Melvyn Sopacua wrote:
> On 17-8-2012 11:43, keeran wrote:
>>
>>
>> On the Django development
Hi,
I was trying to create an m2m relationship using the 'through' parameter
because
I want to have an additional field in the relation table. The idea was to
render this
using CheckboxSelectMultiple.
The thing is that when I add the model m2m field to the 'fieldset' field at
the
ModelForm it th
On 17-8-2012 14:47, madala wrote:
> Thanks I solved it. Was looking up wrong directory because I followed the
> instructions to put the absolute path. If I put the relative path it works
> fine. Thanks for taking time to answer anyway. People are so kind! :0)
You didn't solve it because it /shou
On 17-8-2012 11:43, keeran wrote:
>
>
> On the Django development server, django app works fine. But once I setup
> the production test run, I get only the text contents, where template views
> are not shown as intended. What am I going wrong?
>
> I have django 1.5 latest.
>
> Nginx - 0.8.5
On 17-8-2012 0:05, houmie wrote:
> DealType class has a many to many relationship to sales_item. Therefore
> using inline formsets wouldn't be possible. I have tried it and inlines
> need foreign key.
You *can* use the reverse bit of a ManyToManyField with inline formsets.
The information on how
On Saturday, August 18, 2012 1:31:42 PM UTC+2, Paul Backhouse wrote:
>
> > I seem to be getting a DeprecationWarning when my view hits this line
> of
> > code:
> >
> > return HttpResponseRedirect(reverse(results, args=[query.jobid]))
> >
>
> What does the depreciation warning say?
>
>
H
Thank you Jirka,
Changed the function to stand alone script and called it with sudo from
views.py.
that worked and solved my problem.
From: Jirka Vejrazka
To: django-users@googlegroups.com
Sent: Tuesday, August 14, 2012 1:03:29 PM
Subject: Re: invoking a f
> I seem to be getting a DeprecationWarning when my view hits this line of
> code:
>
> return HttpResponseRedirect(reverse(results, args=[query.jobid]))
>
What does the depreciation warning say?
--
You received this message because you are subscribed to the Google Groups
"Django users" group
2012/8/17 Alexis Roda
> I think that this is not the problem because I can access to volunters
>> without problems. I have problems only with admin, organizers and events
>> paths.
>>
>
> So you have problems with all the urls past the first with a wrong pattern.
>
> ~$ python
> Python 2.6.5 (r26
'more local' means 'living or working in the Windsor or West London area'.
Maybe it's just idiomatic UK English but it reads fairly clearly to me.
The client is in Windsor. The site is a basic content-driven site with a
simple bespoke Django CMS behind it.
ixxy.co.uk • t 01273 906061 • m 07968 1
Hi Andy,
I think you need to add more details like what the simple site is and then
where the client is located. That way, more local doesn't sound cryptic
On Fri, Aug 17, 2012 at 12:06 PM, Andy Baker wrote:
> We built a fairly simple Django site and the client would like someone
> more local to
oops..clicked send too soon
and thanks Thomas and Bruno
On Sat, Aug 18, 2012 at 11:15 AM, Babatunde Akinyanmi
wrote:
> Thomas' reply actually did help me narrow down my search efforts to
> 'namespaces' which is a term I'm actually new to (as a noob) and I was able
> to get links to artic
Thomas' reply actually did help me narrow down my search efforts to
'namespaces' which is a term I'm actually new to (as a noob) and I was able
to get links to articles that did make me understand a little bit more of
what goes on beneath the hood of my program especially this:
http://docs.python.o
Le jeudi 16 août 2012 21:00:56 UTC+2, Tundebabzy a écrit :
>
> Ok I fixed it and in case someone else falls into such a trap, here's
> how I fixed it.
>
> My Answer model had a field with name 'is_correct' and had a method
> with name 'is_correct'.
>
Everything in Python is an object, includ
28 matches
Mail list logo