send also log from console
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Sun, Nov 9, 2014 at 6:06 PM, Niall wrote:
> Hi guys,
>
> I was hoping that someone could help me out with the following. I m
> currently trying to access Djang CMS for the first time. I have been
> following the
Leonard,
In Django 1.4, you would add this code to the forwards()
method of the migration:
from django.core.management import call_command
call_command("loaddata", "")
--Fred
Fred Stluka -- mailto:f...@bristle.com
I am in the process of upgrading from
Django 1.6 to 1.7.
I have three fixtures. I am trying to figure
out how I should load them.
One fixture is `initial_data.json`, and I know
that starting with Django 1.7 this special
fixture no longer gets automatically loaded
as it did when we used to run `s
On Sun, Nov 9, 2014 at 4:50 PM, gerard wrote:
> Hello all,
>
> i have an application (Django 1.4 LTS) that can be accessed with 2 urls:
> the default is https://my.app.org
> and the second is http://consult.my.app.org
>
> In the templates, i'm using:
> {% trans "Connect to see more
> features" %}
On Saturday, November 8, 2014 9:07:04 AM UTC-8, monoBOT monoBOT wrote:
>
> Lists are inmutable
>
Lists are absolutely mutable in Python - hence the availability of
`result.append()`.
Perhaps you're thinking of tuples, which are not mutable and have no
methods for alteration.
./s
>>
NameError at /
name 'hello' is not defined
Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version:
1.7.1 Exception Type: NameError Exception Value:
name 'hello' is not defined
Exception Location: E:\djcode\mysite\mysite\urls.py in , line 5 Python
Executable: C:\Python27\py
On 11/8/14 6:54 PM, James Schneider wrote:
If you are running them directly via one-time SSH commands (ie $ ssh
host 'command'), note that SSH does not request a full TTY and runs
everything inside of a channel, which may also pose problems.
In which case, you can resolve the issue by using s
Sounds like a bit of a weird edge case, I've had all sorts of problems
previously when moving to custom user models from an app with existing
migration data.
Personally I'd say get rid of the migration data for that specific model
and re-initialize, it's just not worth trying to figure out why the
On Sunday, 9 November 2014 13:40:12 UTC, Dr Ed wrote:
>
> Okay, I'm confused. I found it, in here:
> /Users//.virtualenvs//lib/python2.7/site-
> packages/django/contrib/auth/migrations
>
> Why are app related migrations being stored in this location?
>
> Cheers,
>
> Ed
>
What? Migrations r
Okay, I'm confused. I found it, in here:
/Users//.virtualenvs//lib/python2.7/site-
packages/django/contrib/auth/migrations
Why are app related migrations being stored in this location?
Cheers,
Ed
On Friday, 7 November 2014 09:50:47 UTC+1, Dr Ed wrote:
>
> Hi all,
>
> I feel a bit embar
Writing my code with linux editor cause the problem,I wrote that with
notepad and save it as 'utf8' and my problem solved.
On Saturday, November 8, 2014 11:49:10 AM UTC+3:30, Hossein Rashnoo wrote:
>
> When i return Persian characters in view.py (same as Arabic characters) i
> got an error , So
Hello all,
i have an application (Django 1.4 LTS) that can be accessed with 2 urls:
the default is https://my.app.org
and the second is http://consult.my.app.org
In the templates, i'm using:
{% trans "Connect to see more
features" %}
and it's displayed as https://my.app.org/accounts/login if
12 matches
Mail list logo