Re: About UserCreationForm

2018-07-12 Thread abhishek dadhich
Thanks, Buddy I Really forgot 'S' On Friday, July 13, 2018 at 12:24:54 AM UTC+5:30, Matthew Pava wrote: > > Because it’s actually django.contrib.auth.forms …with an *s*. > > > > *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *abhishek dadhich >

formaction vs get_absolute_url

2018-07-12 Thread clavierplayer
I'm looking for a way to redirect to a different page depending upon which submit button the user clicks. I included a formaction tag in the template, but django still demands that get_absolute_url be defined. Using Django 2.0 Basically, I'm trying to write a small app that launches a test

Re: 3719: 'utf8' is currently an alias for the character set UTF8MB3, which will be replaced by UTF8MB4 - When using MySQL sakila and world DB examples

2018-07-12 Thread Melvyn Sopacua
On donderdag 12 juli 2018 19:27:23 CEST Ram Munjuluri wrote: > from django.db import models > # Unable to inspect table 'city' > *# The error was: (3719, "3719: 'utf8' is currently an alias for the > character set UTF8MB3, which will be replaced by UTF8MB4 in a future > release. Please consider

RE: About UserCreationForm

2018-07-12 Thread Matthew Pava
Because it’s actually django.contrib.auth.forms …with an s. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of abhishek dadhich Sent: Thursday, July 12, 2018 1:43 PM To: Django users Subject: About UserCreationForm I want to use UserCreationForm but I can't

Re: Weighing Scale & TCP IP connectivity

2018-07-12 Thread Thomas G Lockhart
You can use Django REST framework to get data into Django and a separate Python (or other) program to feed it in. Have the Python program connect to the scale and use whatever mechanisms are required there to get your data. If the scale has a browser interface, then use urllib to read a page

Re: I made my first Django app, its goal is to generate a styleguide from your scss files

2018-07-12 Thread Melvyn Sopacua
On donderdag 12 juli 2018 17:13:52 CEST Carlo Ascani wrote: > Il giorno gio 12 lug 2018 alle ore 16:44 Melvyn Sopacua > > ha scritto: > > First and foremost: awesome job. > > Thank you! > > > On donderdag 12 juli 2018 14:38:16 CEST Carlo Ascani wrote: > > > More details, if interested: > > >

Re: formaction vs get_absolute_url

2018-07-12 Thread clavierplayer
Relevant urls: app_name = "utils" urlpatterns = [ path('', index, name="index"), path('', index, name="index"), path('migrate/', migrate, name="migrate"), # -- Box Opt Evaluation urls -- path('box-optimization/instructions', instruct,

About UserCreationForm

2018-07-12 Thread abhishek dadhich
I want to use UserCreationForm but I can't import the form. When I'm importing UserCreationForm from django.contrib.auth.form it will show that "ModuleNotFoundError: No module named 'django.contrib.auth.form' " How do I solve it? -- You received this message because you are subscribed to

Re: About UserCreationForm

2018-07-12 Thread MICHAEL EBEBE
Please sir Pava Are you on any social network if yes ya details as in username and how your profile look So that we can interact more and closer together Please On 7/12/18, Matthew Pava wrote: > Because it’s actually django.contrib.auth.forms …with an s. > > From: django-users@googlegroups.com

Re: 3719: 'utf8' is currently an alias for the character set UTF8MB3, which will be replaced by UTF8MB4 - When using MySQL sakila and world DB examples

2018-07-12 Thread Ram Munjuluri
Downgrading to 5.7.7 and installing "mysql-connector-python 8.0.11" through pip fixed the issue. Is this because the mysql-connector-python from MySQL/Oracle does not work with their own MySQL 8.0.11 version? thanks -Ram On Friday, July 13, 2018 at 9:18:39 AM UTC+5:30, Ram Munjuluri wrote: > >

Re: 3719: 'utf8' is currently an alias for the character set UTF8MB3, which will be replaced by UTF8MB4 - When using MySQL sakila and world DB examples

2018-07-12 Thread Ram Munjuluri
thanks Melvyn. let me try to downgrade to MySQL 5.7.7 first. On Friday, July 13, 2018 at 3:13:23 AM UTC+5:30, Melvyn Sopacua wrote: > > On donderdag 12 juli 2018 19:27:23 CEST Ram Munjuluri wrote: > > > from django.db import models > > # Unable to inspect table 'city' > > *# The error was:

Re: Needs help

2018-07-12 Thread Mike Dewhirst
Try http://127.0.0.1:8000 On 12/07/2018 6:40 PM, Umar Kambala wrote: Kasper thanks for your brotherly advice, please I will be glad next time u add me a link. But I came across another error, when I run python manage.py runserver everything work find but when I enter 127.0.0.1 I gets "no

Re: Beginner

2018-07-12 Thread Harsh Rawat
So basically I need to write the documentation regarding what should be the apt name for the feature and what packages come installed with django initially . On Thu, Jul 12, 2018, 11:41 AM Harsh Rawat wrote: > Thanks a lot . > > On Thu, Jul 12, 2018, 3:11 AM 'Anthony Flury' via Django users < >

Re: What is the best route to take to build a general CMS using Django?

2018-07-12 Thread Carlo Ascani
Il giorno gio 12 lug 2018 alle ore 04:53 afj afj ha scritto: > > I already saw some results for this search but what I found was another whole > framework to make even a simple CMS such as django-cms or wagtail > so what I want to know is is there any guidance to make just a simple CMS?

Re: Needs help

2018-07-12 Thread Umar Kambala
Kasper thanks for your brotherly advice, please I will be glad next time u add me a link. But I came across another error, when I run python manage.py runserver everything work find but when I enter 127.0.0.1 I gets "no internet connection" do I hv to be connected wit internet before I can access

Re: Beginner

2018-07-12 Thread Harsh Rawat
Thanks a lot . On Thu, Jul 12, 2018, 3:11 AM 'Anthony Flury' via Django users < django-users@googlegroups.com> wrote: > On 10/07/18 14:06, Harsh Rawat wrote: > > Identifying a useful name means ? > > > Let's say you have identified a great group of packages which you can > install and provides

I made my first Django app, its goal is to generate a styleguide from your scss files

2018-07-12 Thread Carlo Ascani
Hi all, I just made my very first django reusable application. Its goal is to create a styleguide starting from your scss files. I would say that it is very frontend-developers-oriented (as I am). More details, if interested: https://gitlab.com/2pxsolidblack/django-marple Best, Carlo -- You

How to verify if is new record or update record on django template?

2018-07-12 Thread Fellipe Henrique
How to verify if is new record or update record on django template? How can i do that? Thanks! -- 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

Re: Needs help

2018-07-12 Thread Kasper Laudrup
Hi Umar, On 2018-07-12 10:40, Umar Kambala wrote: Kasper thanks for your brotherly advice, please I will be glad next time u add me a link. As I mentioned before, I think you should pick up a beginner book on Python programming. I personally read a book called "Dive into Python" some years

Re: Needs help

2018-07-12 Thread Kasper Laudrup
Hi Umar, On 2018-07-12 12:28, Umar Kambala wrote: That's what I have been trying since, but it's not going through What have you been trying? I have no idea what you are replying to here? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google

Re: Need help for DJango on Windows server with MS SQL Server 2012

2018-07-12 Thread Jason
To answer your first question, that's wehre you look into the project's compatibility documentation and do your own research. Second question: that is a complete unknown, as you're asking us to be fortune tellers and be able to tell the future. In essence, both of your questions can be

ERROR - server - Error trying to receive messages: name 'txredisapi' is not defined

2018-07-12 Thread Hank Chu
> > 2018-07-12 17:35:08,070 - INFO - worker - Listening on channels > http.request, websocket.connect, websocket.disconnect, websocket.receive > 2018-07-12 17:35:08,072 - INFO - server - HTTP/2 support not enabled > (install the http2 and tls Twisted extras) > 2018-07-12 17:35:08,075 - INFO -

Accessing Django through ssh tunneling and error to get status

2018-07-12 Thread Dikus Extrange
Hi everyone. I'm accessing to a Django application through a ssh tunnel with putty as client. I run the server with ./manage.py run server 127.0.0.1:8000 and it starts right but launching an infinite and annoying message: Not found: /http:/127.0.0.1:8000/status [12/Jul/2018 10:02:59] "GET

How to Filter Window Function (Lag/Lead) for FloatField

2018-07-12 Thread Gabriel Lima de Oliveira
Hi all. Carlton suggested I should ask this here, as stated at https://code.djangoproject.com/ticket/29561#ticket Please, I'd like to know how to filter using new django 2.0 window functions. Something similar to this beautiful and simple example

Re: What is the best route to take to build a general CMS using Django?

2018-07-12 Thread Jason
then prefix that in your question. your initial posting comes across as someone who did little initial research and wanted someone else to do the work. On Wednesday, July 11, 2018 at 10:52:41 PM UTC-4, afj afj wrote: > > I already saw some results for this search but what I found was another

Re: Accessing Django through ssh tunneling and error to get status

2018-07-12 Thread Jason
you should use *0.0.0.0* for the ip address rather than 127.0.0.1 On Thursday, July 12, 2018 at 7:22:33 AM UTC-4, Dikus Extrange wrote: > > Hi everyone. I'm accessing to a Django application through a ssh tunnel > with putty as client. I run the server with ./manage.py run server >

Re: Needs help

2018-07-12 Thread Umar Kambala
That's what I have been trying since, but it's not going through On Jul 12, 2018 9:01 AM, "Mike Dewhirst" wrote: > Try http://127.0.0.1:8000 > > On 12/07/2018 6:40 PM, Umar Kambala wrote: > >> >> Kasper thanks for your brotherly advice, please I will be glad next time >> u add me a link. But I

Weighing Scale & TCP IP connectivity

2018-07-12 Thread ERICK OMONDI AYARA
Hello, I would like to capture weight from a weighing scale using TCP/Ethernet cable into a django app. If anyone can advice on how to use sockets or any other means to make this work, will be appreciated. Regards -- You received this message because you are subscribed to the Google Groups

Pass empty slug field in urls

2018-07-12 Thread Can Hicabi Tartanoglu
Hello. I am trying to make this system work: Restaurant/views.py: class SearchRestaurantListView(ListView): # template_name = 'restaurants/restaurantlocation_list.html' def get_queryset(self): print(self.kwargs) slug = self.kwargs.get("slug") if slug:

Re: How to verify if is new record or update record on django template?

2018-07-12 Thread Jani Tiainen
Hi. Usually you know that in a view. Url routing will be different depending if it's a new record or editing old record. to 12. heinäk. 2018 klo 16.58 Fellipe Henrique kirjoitti: > How to verify if is new record or update record on django template? How > can i do that? > > Thanks! > > -- > You

Re: I made my first Django app, its goal is to generate a styleguide from your scss files

2018-07-12 Thread Melvyn Sopacua
First and foremost: awesome job. On donderdag 12 juli 2018 14:38:16 CEST Carlo Ascani wrote: > More details, if interested: https://gitlab.com/2pxsolidblack/django-marple Your requirements.txt is a straight dump of pip freeze, including the `-e .`. That's not maintainable. I would worry about

RE: Pass empty slug field in urls

2018-07-12 Thread Matthew Pava
The error is due to not having a slug. You’ll have to create a URL path to /restaurants/ if you want to allow an empty slug. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Can Hicabi Tartanoglu Sent: Thursday, July 12, 2018 5:06 AM To: Django users

Re: I made my first Django app, its goal is to generate a styleguide from your scss files

2018-07-12 Thread Carlo Ascani
Il giorno gio 12 lug 2018 alle ore 16:44 Melvyn Sopacua ha scritto: > > First and foremost: awesome job. > Thank you! > On donderdag 12 juli 2018 14:38:16 CEST Carlo Ascani wrote: > > > More details, if interested: https://gitlab.com/2pxsolidblack/django-marple > > Your requirements.txt is a

Re: Accessing Django through ssh tunneling and error to get status

2018-07-12 Thread Dikus Extrange
Hi Jason. Thank you for your reply. I tried with your suggestion. Django complained about putting then name of my laptop and its domain in allowed hosts (I had to put 'localhost' and '127.0.0.1' before). So I put it in settings.py and the. Result is the same with the same message. El jueves,

3719: 'utf8' is currently an alias for the character set UTF8MB3, which will be replaced by UTF8MB4 - When using MySQL sakila and world DB examples

2018-07-12 Thread Ram Munjuluri
Hello all, I posted this question with a different subject line and thought I would re-post here with the error. I am using MySQL 8.0 Python 3.6.5 Django 2.0.7 When I run >* python manage.py inspectdb --database world cit**y* I get the following error message. Has someone come across this