Hi all,
I am almost ready to make my app live. I am curious what steps you all take
while getting your app ready to deploy.
Other than setting DEBUG=False, what steps do you take with your app? Any
reusable apps you add? Are there extra things I need to do for security?
I'm not asking for depl
Check out this blog post for a one line solution to the same problem.
http://www.turnkeylinux.org/blog/django-profile
On Mar 16, 11:54 am, Ori Livneh wrote:
> Hi guys,
>
> The Django docs explain that "the method get_profile() does not create the
> profile, if it does not exist. You need to regi
.
fixed models.py
class Location(models.Model):
verified = models.BooleanField(default=False)
admin_objects = models.Manager()
objects = LocationManager()
On Jan 9, 1:14 pm, Shantp wrote:
> The reason I mentioned the filtering is if I turn the filter off or
> filter for only objects
ough to know exactly why it is
happening.
On Jan 9, 12:15 pm, Daniel Roseman wrote:
> On Sunday, January 9, 2011 6:40:17 PM UTC, Shantp wrote:
>
> > I am using a Manager on a model based on a Boolean field to filter the
> > objects displayed on the site while showing all objects
I am using a Manager on a model based on a Boolean field to filter the
objects displayed on the site while showing all objects in the admin
unfiltered. The idea is that user's are submitting Locations but I do
not want them to show on the site until they have been verified as a
valid location based
Hi,
When I run a delete() on one of my objects the delete works and the
object is removed from the db but pysolr throws a "mismatched tag"
error. Once I comment out any references to djangosearch and solr I
don't get that error obviously and the delete still goes through. I've
searched around and
>From the docs:
"A good example is the delete() method on each Django model object.
The template system shouldn't be allowed to do something like this:
I will now delete this valuable data. {{ data.delete }}"
What method should I use for allowing a user to delete an instance of
the model using
I'm getting this error:
AttributeError: 'NoneType' object has no attribute 'append'
It's coming from this line in my template:
{% scores_for_objects share_list as score_dict %}
If I remove this line everything is fine. I wasn't getting this error
before but I had to wipe my server and create a
find solr. i think some thing wrong in
> your configuration or try to change the case SOLR 'Solr' some thing
> like that
>
> On Feb 11, 6:15 am, Shantp wrote:
>
> > Hi
>
> > I've installed Java, Tomcat and Solr. I followed the directions and
> >
Hi
I've installed Java, Tomcat and Solr. I followed the directions and
got pysolr as well. I put the djangosearch app on my python path and
put it in the installed_apps in my settings.py.
http://code.google.com/p/djangosearch/source/browse/branches/soc-new-backends/doc/README.txt
In the read me
I'm using Django and django-voting in an app I'm making. If a user who
is not authenticated tries to vote, an alert box is displayed telling
them they are not authenicated. How can I catch this error and make it
into a more elegant AJAX display so I can show it right on the page
when it happens?
-
Wow. Just removing the () after my subclassed commentform worked.
Thanks a lot. I hope that ticket is completed soon and added into
django.
On Feb 7, 8:31 pm, Eric Abrahamsen wrote:
> On Feb 8, 2009, at 12:15 PM, Shantp wrote:
>
>
>
>
>
> > Hi,
>
> > I
Hi,
I've got a custom comment form in my template using "get_comment_form"
and I'd like email to not be required. From some searching I see that
I need to subclass the CommentForm, but I don't know exactly how to go
about this. Here's what I put into my forms.py
from django.contrib.comments.form
Just to clear up some confusion, I posted only the relevant part of my
urls.py file. I have all the other necessary stuff in it but i'm still
getting this error.
On Sep 12, 8:14 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> On Sep 13, 2008, at 8:32 AM, Shantp wrote:
>
&g
Hi,
I did a lot of searching on this and can't figure out what I'm doing
wrong. Here's what's in my urls.py:
share_detail = {
'queryset': Share.objects.all(),
}
(r'^comments/', include('django.contrib.comments.urls')),
(r'^comments/(?P[-\w]+)/?$',
'django.views.generic.list_detail.objec
I was a beginner to linux and django and SliceHost has been awesome
for getting myself going and learning.
http://www.slicehost.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Hi all,
This seems like it will have an obvious answer but I did a lot of
searching and can't find the answer. The timesince template tag
returns 2 outputs like "2 days, 3 hours". How can I limit the output
to only 1 thing?
-Shant
--~--~-~--~~~---~--~~
You receiv
17 matches
Mail list logo