c6', null=True, verbose_name='user_id', db_index=True), ), migrations.AlterField( model_name='photothumbupinfo', name='user_id', field=models.CharField(max_length=255, blank=True, help_text='\u7528\u6237\u552f\u4e00\u6807\u8bc6', null=True, verbose_name='user_id', db_index=True), ), ] kodo - Gogs: Go Git Service

No Description

pai2_nginx.conf 2.7KB

    # pai2_nginx.conf # the upstream component nginx needs to connect to upstream pai2 { # server unix:///home/paiai/work/pai2/pai2/uwsgi/pai2.sock; # for a file socket server 127.0.0.1:8888; # for a web port socket (we'll use this first) } # configuration of the server server { # the port your site will be served on listen 80; # the domain name it will serve for server_name .img.pai.ai .img.xfoto.com.cn; # substitute your machine's IP address or FQDN charset utf-8; # max upload size client_max_body_size 75M; # adjust to taste # Django media location / { alias /home/paiai/work/pai2/media; # your Django project's media files - amend as required } location /photo { alias /home/paiai/work/pai2/media/photo; # your Django project's media files - amend as required } location /fly { alias /home/paiai/work/pai2/media/fly; # your Django project's media files - amend as required } } # configuration of the server server { # the port your site will be served on listen 80; # the domain name it will serve for server_name .api.pai.ai .api.xfoto.com.cn; # substitute your machine's IP address or FQDN charset utf-8; # max upload size client_max_body_size 75M; # adjust to taste # Django media location /media { alias /home/paiai/work/pai2/media; # your Django project's media files - amend as required } location /static { alias /home/paiai/work/pai2/collect_static; # your Django project's static files - amend as required } # Finally, send all non-media requests to the Django server. location / { # uwsgi_pass pai2; proxy_pass http://pai2; include /home/paiai/work/pai2/pai2/uwsgi/uwsgi_params; # the uwsgi_params file you installed } } # configuration of the server server { # the port your site will be served on listen 80; # the domain name it will serve for server_name .pai.ai .xfoto.com.cn; # substitute your machine's IP address or FQDN charset utf-8; # max upload size client_max_body_size 75M; # adjust to taste # Django media location /media { alias /home/paiai/work/pai2/media; # your Django project's media files - amend as required } location /static { alias /home/paiai/work/pai2/collect_static; # your Django project's static files - amend as required } # Finally, send all non-media requests to the Django server. location / { # uwsgi_pass pai2; proxy_pass http://pai2; include /home/paiai/work/pai2/pai2/uwsgi/uwsgi_params; # the uwsgi_params file you installed } }
kodo - Gogs: Go Git Service

No Description

tests.py 61B

    from django.test import TestCase # Create your tests here.
kodo - Gogs: Go Git Service

No Description

0011_auto_20170315_2243.py 2.3KB

    # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('operation', '0010_auto_20170308_2242'), ] operations = [ migrations.AddField( model_name='appsettingsinfo', name='src', field=models.IntegerField(default=0, help_text='\u6765\u6e90', db_index=True, verbose_name='src', choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')]), ), migrations.AddField( model_name='guestentrancecontrolinfo', name='src', field=models.IntegerField(default=0, help_text='\u6765\u6e90', db_index=True, verbose_name='src', choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')]), ), migrations.AlterField( model_name='feedbackinfo', name='src', field=models.IntegerField(default=0, help_text='\u6765\u6e90', db_index=True, verbose_name='src', choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')]), ), migrations.AlterField( model_name='latestappinfo', name='src', field=models.IntegerField(default=0, help_text='\u6765\u6e90', db_index=True, verbose_name='src', choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')]), ), migrations.AlterField( model_name='patchinfo', name='src', field=models.IntegerField(default=0, help_text='\u6765\u6e90', db_index=True, verbose_name='src', choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')]), ), migrations.AlterField( model_name='splashinfo', name='src', field=models.IntegerField(default=0, help_text='\u6765\u6e90', db_index=True, verbose_name='src', choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')]), ), ]
Pai2/minipai2 - Gogs: Go Git Service

1 Commits (f9543b4d1414a99a4af2c6a992205457a4ba97e6)

Author SHA1 Message Date
  Brightcells 8044cd4c59 auto upgrade 9 years ago
kodo - Gogs: Go Git Service

No Description

0008_auto_20170315_2243.py 603B

    # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('message', '0007_auto_20160907_1740'), ] operations = [ migrations.AlterField( model_name='systemmessageinfo', name='src', field=models.IntegerField(default=0, help_text='\u6765\u6e90', db_index=True, verbose_name='src', choices=[(0, '\u62cd\u7231\u7528\u6237\u7aef'), (1, '\u62cd\u7231\u6444\u5f71\u5e08\u7aef'), (2, '\u62cd\u7231\u5bfc\u6e38\u7aef')]), ), ]
pai2 - Gogs: Go Git Service

拍爱

0026_auto_20161216_1301.py 844B

    # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('group', '0025_auto_20161214_1659'), ] operations = [ migrations.RemoveField( model_name='groupuserinfo', name='relative_person', ), migrations.AddField( model_name='groupinfo', name='total_persons', field=models.IntegerField(default=1, help_text='\u65c5\u6e38\u56e2\u603b\u4eba\u6570', verbose_name='total_persons'), ), migrations.AddField( model_name='groupuserinfo', name='relative_persons', field=models.IntegerField(default=1, help_text='\u5173\u8054\u4eba\u6570', verbose_name='relative_persons'), ), ]
Kodo/kodo - Gogs: Go Git Service

1 Commits (3e009f03b6e2336d16c55d30a264a28c82ea5c82)

Author SHA1 Message Date
  Brightcells 537c495621 Statistic 8 years ago
Sign In - Gogs: Go Git Service

Sign In