Hi there.
I use Django 1.6 version.
The database of Django store the information of application.
So, I know that if I change the hierarchy of the Django project folders,
some trouble occurs.
That is why, I'd like to check the name of my application.
I think some of Django commands like manage
> do you mean the order the apps appear in the INSTALLED_APPS setting?
>
> On Sat, Jan 17, 2015 at 6:38 AM, Sugita Shinsuke > wrote:
>
>> Hi there.
>>
>> I use Django 1.6 version.
>>
>> The database of Django store the information of application.
>
Hi there.
I use Django 1.6 version.
I have already developed system which develop.
But, now, all models can be seen by admin user.
I must split the user on a per-user on admin web page.
I want to not see a model that each other is owned by another user.
Could you tell me how do you set setting
Hi there.
I use Django 1.6 version.
I have already developed system which develop.
But, the system has designed mistook the logical design.
I must split the models on a per-user.
This is the model below which I must split on a per-user.
class Questions(models.Model):
qid = models.Integer
Hi there.
I use Django 1.6 version.
I have already developed the system which works for a single user.
For later plan, I would split the models on per-user.
This is the model below which I must split on per-user.
class Questions(models.Model):
qid = models.IntegerField(
primary
Hi there.
I use Django 1.6 version.
I have already developed the system which works for single user.
But, now, all models can be seen by admin user.
I must split the user on per-user on admin web page.
One can not see each other's admin page.
Could you tell me how do you set settings?
Anyone
Hi there.
Could you tell me a good way to use Django with Micro Soft DB SQL server. I
tried django_pyodbc. Any suggestion is appreciated.
my PC of Environment is below.
Database:
SQL Server 2014 Express
OS:
Windows 7 Home Premium SP1
I used the django module, django_pyodbc.
And, I tried to
l server is
>
> https://github.com/michiya/django-pyodbc-azure
>
>
> I am running it both on windows and linux, simultaneously.
>
>
> The settings components are displayed on the web site.
>
> Works like a charm
>
> One dependency is pyodbc to be installed.
>
>
> The settings components are displayed on the web site.
>
> Works like a charm
>
> One dependency is pyodbc to be installed.
>
>
>
> On Wednesday, December 10, 2014 4:22:44 AM UTC-5, Sugita Shinsuke wrote:
>>
>> Hi there.
>>
>> Could you te
; The settings components are displayed on the web site.
>
> Works like a charm
>
> One dependency is pyodbc to be installed.
>
>
>
> On Wednesday, December 10, 2014 4:22:44 AM UTC-5, Sugita Shinsuke wrote:
>>
>> Hi there.
>>
>> Could you tell me a
>>> import pyodbc
> >>> conn = pyodbc.connect('DRIVER=SQL Server;'
> 'SERVER=my_db_server_name'
> 'PORT=my_db_server_port_number;'
> 'DATABASE=my_db_nam
Hello.
When I use Django via my smart phone Android and iOS.
The error sometimes occurred.
Forbidden (403)
CSRF verification failed. Request aborted.
Help
Reason given for failure:
CSRF token missing or incorrect.
In general, this can occur when there is a genuine Cross Site Request
Forgery, or
ookie.
2015年1月6日火曜日 23時00分10秒 UTC+9 Vijay Khemlani:
>
> ¿Did you include de {% csrf_token %} tag in the form? ¿Is it generating
> the corresponding hidden input tag in the html?
>
> On Tue, Jan 6, 2015 at 6:09 AM, Sugita Shinsuke > wrote:
>
>> Hello.
>>
>> When
Hi there.
I'd like to run background application.
I coded this code.
I wrote the urls.py and I added in the view.
def run_junix(request):
cmd = "cd app_path;nohup python background_app.py &"
import subprocess
proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
stderr=s
uld you help me?
2015年1月8日木曜日 19時19分20秒 UTC+9 somecallitblues:
>
> Look into celery. It's the best and easiest way to run bg jobs imo
> On 08/01/2015 9:10 pm, "Sugita Shinsuke" >
> wrote:
>
>> Hi there.
>>
>> I'd like to run background a
13時24分25秒 UTC+9 Vijay Khemlani:
>
> Have you done the celery tutorial?
>
> Async tasks require you to have a broker (rabbitmq or something) and also
> to create some workers that actually execute the task.
>
> On Fri, Jan 9, 2015 at 12:55 AM, Sugita Shinsuke > wrote:
>
&
ady():
print 'processing...'
print result.get()
return HttpResponse("test")
2015年1月9日金曜日 13時49分15秒 UTC+9 Sugita Shinsuke:
>
> Hi Vijay Khemlani
>
> Thank you for replying.
>
> >Have you done the celery tutorial?
> I have not done the celery tu
> -Abraham V.
>
>
> On Thursday, January 8, 2015 2:15:21 PM UTC+5:30, Sugita Shinsuke wrote:
>>
>> Hello Vijay Khemlani
>>
>> Thank you for replying.
>> But, of cause I appended the tag in my form like below
>>
>>
>> {% csrf_token
Hi Zach Borboa
Thank you for replying.
Do you mean that both of PC and Mobile device are caching an incorrect csrf
token?
I use iframe.
Child frame html page uses form, and can it use csrf?
2015年1月9日金曜日 15時14分55秒 UTC+9 Zach Borboa:
>
> Mobile device could also be caching an incorrect csrf toke
Hi there
I’d like to run Java code via Django.
The Java code, javaprogram use like below.
—
java javaprogram [text] [file_name]
—
text is parameter. multi-byte character is also okey.
file_name is generate file name.
So, I run the stand-alone Python program like below could run fine.
—
java_fi
s-stdout-in-python
>
>
> http://stackoverflow.com/questions/15740236/stdout-encoding-in-python
>
> http://stackoverflow.com/questions/492483/setting-the-correct-encoding-when-piping-stdout-in-python
>
>
> François
>
> On Apr 27, 2014, at 2:13 AM,
Dear François
I checked Django's encoding again.
locale.getpreferredencoding() is
ANSI_X3.4-1968
sys.getdefaultencoding() is
ascii
2014年5月5日月曜日 20時12分52秒 UTC+9 Sugita Shinsuke:
>
> Dear François Schiettecatte
>
> Hello.
> Thank you for replying.
>
> I checked s
;>
>> I also tried your suggestion. But error happened like below.
>>
>> 'ascii' codec can't decode byte 0xe3 in position 0: ordinal not in
>> range(128)
>>
>>
>>
>>
>> 2014-05-06 17:10 GMT+09:00 Hannu Krosing
>> >:
>&g
I added
sys.stdout = codecs.getwriter('utf-8')(sys.stdout)
But, I couldn't resolve...
>language that user requests (if supported and USE_i18N=True) or
LANGUAGE_CODE otherwise.
Both of them are True.
USE_I18N = True
USE_L10N = True
2014年5月8日木曜日 1時23分01秒 UTC+9 Tom Evans:
>
> On Su
Hello Tom
I finally resolved the problem.
I used subprocess.Popen's option "shell=False"
And, make cm by list.
I resolved.
Thank you.
2014年5月8日木曜日 17時45分52秒 UTC+9 Tom Evans:
>
> On Thu, May 8, 2014 at 5:05 AM, Sugita Shinsuke
> >
> wrote:
> > Hello To
25 matches
Mail list logo