Hi everyone, I'm following this thread and I'm having the same error. Im
running a postgis db, and despite the biginteger pk, my problem is the
same. Could you solve it?
Thanks!
On Monday, August 3, 2015 at 11:16:12 PM UTC-6, mohse...@gmail.com wrote:
>
> i found that even trying to access the
Yes, I too was thinking about that. I had doubts about the space and the
performance of it. Do you see any downside \on the space and performance?
On Fri, Jun 10, 2016 at 6:57 PM, Rafael Guillén wrote:
> Instead of making them entirely separate models, you can use one model
Instead of making them entirely separate models, you can use one model as a
base and have the other models inherit from them, then you display the base
model. I think this might be a good fit for multi-table inheritance. See if
this helps:
Specifically, this style is called an Immediately Invoked Function
Expression, or IIFE.
https://en.wikipedia.org/wiki/Immediately-invoked_function_expression
On Fri, Jun 10, 2016 at 3:36 AM, ludovic coues wrote:
> > (function($) {
> > 'use strict';
> >
> >
I just went through the tutorial again to check what the definition of my
__str__() method was and I noticed where the tutorial says to add a custom
method to polls/models.py. Before I copied and pasted a whole new object
and method to the file instead of adding the custom method to the object.
I have three different models for my app. All are working as I expected.
class Tender(models.Model):
title = models.CharField(max_length=256)
description = models.TextField()
department = models.CharField(max_length=50)
address = models.CharField(max_length=50)
> (function($) {
> 'use strict';
>
> })(django.jQuery);
This syntax is called a closure. First you declare a function so you
don't contaminate the global scope with your local declared variable.
Then you execute your function.
I will assume django.JQuery is the version of JQuery
The issue was with my model which had a unique_together with the field
removed in it. Fixed migrations are:
class Migration(migrations.Migration):
operations = [
migrations.AddField(
model_name='Rendition',
name='filter2',
sorry for wrong post because i am not familiar with javascript to deal with
this problem
i just afraid user crazily press refresh button multiple times or ctr + r
multiple time during page loading
On Friday, June 10, 2016 at 2:28:09 PM UTC+8, Sergiy Khohlov wrote:
>
> This is not django
This is not django question. Let's imagine. User has pressed submit.
Browser is forming request and data is passing to web app. Has web aapp
informed about user typing? Of course no. Simple redirect makes forgotting
filled form.
10 черв. 2016 04:36 "meInvent bbird" пише:
>
10 matches
Mail list logo