Re: help me

2017-12-07 Thread Jani Tiainen
Hi. As pointed out do the official tutorial. If you feel that it's too short or doesn't explain things in depth Django Girls do have excellent tutorial. https://tutorial.djangogirls.org/en/ 8.12.2017 2.35 "kalla giga" kirjoitti: > help me with the basic of django > > -- > You received this mess

Re: Django Channel Error

2017-12-07 Thread Maitreya Verma
Yes it worked. I had not installed channels and not added it to INSTALLED_CHANNELS as well. Thanks Andrew! On Thu, Dec 7, 2017 at 1:45 PM, Andrew Godwin wrote: > That error means you are not actually running a websocket-capable server. > Did you add "channels" to INSTALLED_APPS? > > Andrew > >

Re: Failed to create a new django project

2017-12-07 Thread carlos
yes django 2.0 drop python 2.7.x On Thu, Dec 7, 2017 at 4:21 PM, wrote: > Hi, > > I encounter an error when I try to create a new django project use the > command "django-admin startproject mysite". Could you tell me how to fix > it? Thanks a lot. > > Python version: 3.6.3 > Django version: I ha

Re: Failed to create a new django project

2017-12-07 Thread Egor Smolyakov
Hello. Can you post the full log onto pastebin.com or another service? On 8 December 2017 at 00:21, wrote: > Hi, > > I encounter an error when I try to create a new django project use the > command "django-admin startproject mysite". Could you tell me how to fix > it? Thanks a lot. > > Python

Re: help me

2017-12-07 Thread Lachlan Musicman
On 8 December 2017 at 08:04, kalla giga wrote: > help me with the basic of django > > If you work through the tutorial, it really gives you a good introduction. https://docs.djangoproject.com/en/2.0/intro/tutorial01/ Cheers L. -- You received this message because you are subscribed to the Go

Re: help me

2017-12-07 Thread Alceu Rodrigues de Freitas Junior
http://catb.org/~esr/faqs/smart-questions.html Em 07/12/2017 19:04, kalla giga escreveu: help me with the basic of django -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from t

help me

2017-12-07 Thread kalla giga
help me with the basic of django -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Failed to create a new django project

2017-12-07 Thread yuzezhong2012
Hi, I encounter an error when I try to create a new django project use the command "django-admin startproject mysite". Could you tell me how to fix it? Thanks a lot. Python version: 3.6.3 Django version: I have tried both 1.8 and 2.0. By the way, it doesn't have any problems when I use pytho

Re: uwsgi stats middleware for Django

2017-12-07 Thread Ádler Oliveira Silva Neves
Sounds like you want retrieving statistics from uWSGI's stats server. http://uwsgi-docs.readthedocs.io/en/latest/StatsServer.html In order to get that JSON via HTTP requests, your server ".ini" should receive extra arguments to start an stats server listening to the specified port and application

Re: Django groups and specialpermissions

2017-12-07 Thread Egor Smolyakov
Hello! Check out this library https://github.com/vintasoftware/django-role-permissions On 7 December 2017 at 18:52, Jani Tiainen wrote: > Hi. > > There isn't anything built in to satisfy your needs but you can easily > create such a mechanism with few models and helper funcs or methods. > > > 7

Re: Django groups and specialpermissions

2017-12-07 Thread Jani Tiainen
Hi. There isn't anything built in to satisfy your needs but you can easily create such a mechanism with few models and helper funcs or methods. 7.12.2017 18.17 "mounikesh mintu" kirjoitti: > Can any one guide me in this is there any way to create django groups > where there should be a group a

Django groups and specialpermissions

2017-12-07 Thread mounikesh mintu
Can any one guide me in this is there any way to create django groups where there should be a group admin who can control the activity of the group and cand add members and themembers can share any kind of photos within the group and the other members outside the group cant view/access the photo

uwsgi stats middleware for Django

2017-12-07 Thread Etienne Robillard
Hi, I would like to access the uWSGI stats API from within Django by creating a custom WSGI middleware. Could it be possible to compute the number of requests currently being used by uWSGI workers in Python/Django ? Ideally, i could then retrieve the active connections in use in a standard

Re: Problems with translating URL patterns.

2017-12-07 Thread Egor Smolyakov
I can't do it. Describe what do you want? On Sunday, 3 December 2017 22:29:05 UTC+2, Juan José Meneses wrote: > > Hello, I'm having problems with translating URL patterns. If I set a URL > patter to be, for example, > url(_(r'^admin/'), admin.site.urls) > > where > _() > > is ugettext_lazy and

Re: How to make a subscription form for use with Stripe / dj-stripe?

2017-12-07 Thread Egor Smolyakov
Check out the template folder of the project: https://github.com/dj-stripe/dj-stripe/tree/master/djstripe/templates/djstripe On Tuesday, 5 December 2017 01:21:47 UTC+2, Daniel Grace wrote: > > I have set up a Stripe account and installed dj-stripe, but I can't find > information on how to set up

Re: Email and activation key in django.contrib.auth

2017-12-07 Thread Egor Smolyakov
I know that topic is old, but I also find a method for this functionality. I don't found so I create it by myself. See this commit: https://github.com/egorsmkv/simple-django-login-and-register/commit/a8ca21f1a6bb4fa4eacbc4e904d9ce9adebdf576 On Wednesday, 12 January 2011 03:18:09 UTC+2, Micah C

Re: Saving webp image near jpg version

2017-12-07 Thread Egor Smolyakov
Actually, you need to use any background library ( like https://github.com/arteria/django-background-tasks/ ) for processing large-time operations such as image processing. On Friday, 17 November 2017 15:24:25 UTC+2, Дмитрий Горобец wrote: > > I want to save webp image near jpg version. > > Now

Re: Login

2017-12-07 Thread Egor Smolyakov
You can have a look at my project: https://github.com/egorsmkv/simple-django-login-and-register It is simple and uses the built in Django Auth module. On Monday, 4 December 2017 19:49:32 UTC+2, chaitanya.creator wrote: > > Hi > i am new users django .please help in making a login system using

Re: Django Channel Error

2017-12-07 Thread Andrew Godwin
That error means you are not actually running a websocket-capable server. Did you add "channels" to INSTALLED_APPS? Andrew On Thu, Dec 7, 2017 at 12:03 AM, Maitreya Verma wrote: > I am following this tutorial > to > learn django

Re: Django Channel Error

2017-12-07 Thread Maitreya Verma
I am using Django 2.0, django-channels 0.7.0, asgi-redis 1.4.3 On Thursday, December 7, 2017 at 1:33:22 PM UTC+5:30, Maitreya Verma wrote: > > I am following this tutorial > to > learn django channels. > The following procedure w

Django Channel Error

2017-12-07 Thread Maitreya Verma
I am following this tutorial to learn django channels. The following procedure was used : - Add the following code in settings.py redis_host=os.environ.get('REDIS_HOST','localhost') CHANNEL_LAYERS={ "default":