I have this settings for my database connection:
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.postgis', # Add
'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'solomon', # Or path to database file if using sqlite3.
# The following s
So that does not work. Is there a builtin method that will allow me to call
the script before the form is rendered in save_model?
form = RssFeedPageForm # <-- how can this be loaded with UpdateFeeds
ValidationErrors?
def save_model(self, request, obj, form, change):
# UpdateFeeds()
Hi,
On Fri, 24 Jan 2014 15:10:44 +0100 Frank Bieniek
wrote:
> a do have to upgrade an existing
> django project, it is an openid provider with around 10k users.
> In order to update to django 1.6 I do need to get rid of
> the good old AUTH_PROFILE_MODULE and need to switch
> to CustomUserModel, a
Opps, sorry. I was actually trying to ask how one would get a hold of the
current model in this admin form, but the Esc key for some reason sent the
message.
The above function works, but the instance is not a model instance which
can be saved. How would I go about getting the current RssFeedPage m
class RssFeedPageForm(forms.ModelForm):
class Meta:
model = RssFeedPage
def clean_link(self):
self.instance.save()
page_model_instance=self.instance, rss_item=RssFeedItem,
feed_url=self.data['link'])
UpdateFeeds().parse_feed(page_model_instance=self.instance,
rss
Also, if I spoof the user agent (using a chrome plugin), I don't get the
error.
On Monday, July 12, 2010 2:10:49 PM UTC-4, Tor Nordam wrote:
>
> I'm currently writing a blog framework in django, and I have it up an
> running (on www.presskanne.com). During the last 20 hours or so, I
> have gott
Here's an example stack trace:
Traceback (most recent call last):
File "/home/possiblecity/.virtualenvs/prod/lib/python2.
7/site-packages/django/core/handlers/base.py", line 103, in get_response
resolver_match = resolver.resolve(request.path_info)
File "/home/possiblecity/.virtualenvs/pr
Thanks for the response.
I'm not doing any user agent sniffing, and I don't have a robots.txt.
On Monday, July 12, 2010 2:10:49 PM UTC-4, Tor Nordam wrote:
>
> I'm currently writing a blog framework in django, and I have it up an
> running (on www.presskanne.com). During the last 20 hours or so
SOLVED: The correct setting on the CBV is:
*form_class =* not *form =*
On Fri, Jan 24, 2014 at 2:09 PM, Timothy W. Cook wrote:
> My widget attribute settings aren't having any effect in the render
> template.
>
> View:
> class DvBooleanCreateView(CreateView):
> template_name = 'dvbo
I'm wondering why this is and if it is why I am getting this eror? The
template is in the default template dir. Thanks.
--
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 em
10 matches
Mail list logo