Hi,
My migrations aren't being created. I think that's the problem, anyway -
there's no migrations folder, and the table I've created doesn't exist when
I search in the shell.
Here's 'my file structure:
/ladynerds manage.py db.sqlite3 /ladynerds /static /templates __init.__py
forms.py
Hi
I have a need to use memcache on a particular view/controller and wanted to
know if the middleware cache settings:
'django.middleware.cache.UpdateCacheMiddleware','django.middleware.common.CommonMiddleware','django.middleware.cache.FetchFromCacheMiddleware',
are required if all I want to
Hello,
I am using Django 1.9.3. I have a project with several apps. I would like
to update the tables of one of the app at the startup of the project.
I have all the code written, it looks like the following (it's an example):
from my_app.models import My_table
def on_startup():
I had a similar issue when uploading a kml to geojson conversion to postgis
using geodjango. There is no efficient way to do it in Django, so I ended
up doing a workaround
- Create two geometry types, one with dims=2 and other with dims=3.
Allow both to be null and set default to null
Hi RAfael.
I am using this app for multi select
fields https://github.com/goinnn/django-multiselectfield
which perform a render the options like checkbox of multiple selection in
the django admin forms
You should install it of this way
1. Download the tar.gz file from
I believe a model similar to the poll app from the tutorial would be
appropriate
On Tue, Mar 8, 2016 at 10:20 AM, Jun Tanaka wrote:
> Hi,
>
> I am trying to make a form for Quizzes. I hope to know how to construct a
> model which be added choices. A model should be
When I use the builtin "password_change" view, I came with an error, so I
check the source code in "django/contrib/auth/views.py", (django version
1.9.0) , at line 308, call the function "reverse", just the argument
"password_change_done".
Then I check the "reverse" in
I m not sure if my first post went through or not.
We are also trying to move to SPA using angular.js.
While going to through this app https://github.com/Tivix/django-rest-auth,
It seems that we have to use Token authentication on web and mobile.
Session authentication is not an option. Is it
I m also working on SPA with angular.js. One problem I have is regarding
authentication.
We have currently mixture of angular.js and html pages served by django but
our new version will be SPA.
Till now our project was using session authentication (web) & token
authentication (mobile).
I
Install OpenCV and build with python , then you can do real time image
processing using UI , You want to real time image processing on web server
then you have to need setup all configuration of OpenCV on web server and
have to need web consol
On Thursday, March 3, 2016 at 11:17:56 PM
So I've tried going back to Django 1.7 but changing the app configuration
to use the AppConfig class and I've hit upon the same issue.
It would seem that part of the key is the fact that when the system hits
this line:
/home/osinski/Projects/feastly/apps/account/models.py in ()
11
12
On Mon, Mar 07, 2016 at 05:44:08PM -0800, jorrit...@gmail.com wrote:
> I'm trying to replace *[URL]www.link.com[/URL]* with HTML with this regexp:
>
> topic.text = re.sub("(\[URL\])(.*)(\[\/URL\])", '$2', topic
> .text, flags=re.I)
>
> But it's giving me the following problems:
>
>1. The $2
Hi,
I am trying to make a form for Quizzes. I hope to know how to construct a
model which be added choices. A model should be constructed by three parts
as
Question
the number of right answer
several buttons to choose
for example of a model,
class Quiz(models.Model):
question =
13 matches
Mail list logo