Re: Projects for Beginners

2019-01-31 Thread RETAIL CYBER
Have tried the polls app or blog app?

On Thu, Jan 31, 2019, 2:56 PM Vikram Jadhav  wrote:

> Hey there!!
> Hope you are doing well in Django.
>
> I am a beginner in Django and completed couples of a tutorial in Django.
> Please suggest project ideas or resources of Django projects to learn for
> me as beginners.
>
>
>
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CADJy-vT%3D_KM%2B6ktx3ZkkbmDat%2Bha8PZEgWECgYOEPQgf_RHLOg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_AWtZfncy_MQCVCvAiiyfBS%2B0kX%3Dk3MPXYn_JHXpV15wA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: HELP FOR BEGINER

2019-01-31 Thread RETAIL CYBER
I would think it would be users database with tables for user data. But
maybe your right

On Thu, Jan 31, 2019, 3:39 PM Navami K  wrote:

> I have an interview task in which
> they told
> Whenever a user signs up a registration form a database has to created for
> each user dynamically
> Any idea how this is done??
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e2af53ac-b4f7-4363-a3f4-1e67bb9045cc%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_CYrre2WKmF_Rpm_dZaLKaNvyNnZQCzVCjXRxjYd5V44g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Questions about MySQL notes in Django docs

2019-01-24 Thread RETAIL CYBER
Now I'm stuck on it saying phpmyadmin not working

On Wed, Jan 23, 2019, 4:26 PM Carsten Fuchs  Hi Tim,
>
> thanks for your reply!
>
> I'm sorry if I left the impression that I had not spent any time with
> research before posting my question!
>
> Unfortunately and mistakenly, I was referring to the 2.1 docs when I am in
> fact still using Django 1.11:
> My problem is that I still (have to) use an Oracle 11 database, which in
> turn gets me stuck with Django 1.11 LTS – this is one of the reasons for
> our planned switch to MySQL (unfortunately I was not able to persuade the
> team to use PostgreSQL instead).
>
> Therefore, I have to switch from Oracle 11 to MySQL at Django 1.11.
>
> Thus my question: With #29451 referring to Django 2.0, does the MySQL
> support in Django 1.11 cover MySQL 8, so that I can from there upgrade to
> newer Django versions?
>
> Sorry again for having not made that clear in my initial message!
>
> Best regards,
> Carsten
>
>
>
> Am 23.01.19 um 16:37 schrieb Tim Graham:
> > Yes, Django supports MySQL 8. If you google "django mysql 8" the second
> result is https://code.djangoproject.com/ticket/29451. Based on the
> commits there, it looks like Django 2.0.7 and above received the fixes.
> >
> > On Wednesday, January 23, 2019 at 5:10:18 AM UTC-5, Carsten Fuchs wrote:
> >
> > Dear Django group,
> >
> > can you please help me with some questions about
> > https://docs.djangoproject.com/en/2.1/ref/databases/#mysql-notes <
> https://docs.djangoproject.com/en/2.1/ref/databases/#mysql-notes> ?
> > (I've been using Django with an Oracle database for years, but I'm
> new
> > to MySQL.)
> >
> > a) Does "Django supports MySQL 5.6 and higher." cover MySQL 8? (I'm
> not
> > sure about the status of some tickets and PRs.)
> >
> > b) Why is the "mysqlclient" client the recommended choice?
> >
> > c) Using MySQL 8 and considering
> > https://code.djangoproject.com/ticket/18392 <
> https://code.djangoproject.com/ticket/18392>, should we set utf8 or
> > utf8mb4 as the character set?
> > https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-sets.html <
> https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-sets.html>
> > indicates that utf8 is an alias to the deprecated utf8mb3 even with
> MySQL 8.
> >
> > d) Why is isolation level "read committed" preferred over "repeatable
> > read"? The text says "Data loss is possible with repeatable read.",
> but
> > how can "repeatable read" have data loss that "read committed" has
> not?
> >
> > Thank you!
> >
> > Best regards,
> > Carsten
>
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/db2f7a92-9d28-97da-7d26-8a8de71a7213%40cafu.de
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_AyPAyQiRVAGnpz0X4EG_Fxy63KwM%2BYF0ZTbUgJJjxEmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Job Request

2019-01-24 Thread RETAIL CYBER
They can I'll be looking for more jobs soon I'd personally if u get it
learned I'd go-to Fiverr

On Thu, Jan 24, 2019, 9:35 AM Motaz Hejaze  Hi all ,
>
> Is there any remote job regarding Django , i am a beginner to mid-level in
> Django ..
>
> Thanks all ..
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHV4E-eipXC8kxPcWg%2BhOBeiL0jw3b82Sohv%3D-S5s9F%2BimvO_A%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_C_u7afXm0%3DGm66GwwoXS2USUXp9vzXHNasFrFhuumgKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Channels 2.0 close code and http response status

2019-01-23 Thread RETAIL CYBER
I can't get it to load mysql on my centos system ?

On Wed, Jan 23, 2019, 9:46 AM  Hey I read the spec of websocket handshake and I believe that in abrupt
> close connection, the server can send either a 403 or 404. I wish there
> were a way to send a 404. :(
>
> On Sunday, June 24, 2018 at 7:21:10 PM UTC+2, Andrew Godwin wrote:
>>
>> I'm not quite sure - WebSockets do have browser differences. You could
>> also try adding a delay between the accept and the close to see if that
>> changes how they handle it.
>>
>> Andrew
>>
>> On Sun, 24 Jun 2018, 06:02 Kirill Tyushchakov, 
>> wrote:
>>
>>> Hi, Andrew! Thanks a lot for your response.
>>> I've changed my consumer's connect method like this:
>>>
>>> def connect(self):
>>> user = self.scope.get('user')
>>> super(NotificationsConsumer, self).connect()
>>> if user.is_anonymous:
>>> self.close(code=4003)
>>>
>>>
>>>
>>> I've tested it in Chrome, Firefox, Safari and IE 11 and here is the
>>> result that I've got:
>>> Chrome - 1006
>>> IE 11 - 1005
>>> Firefox - 4003
>>> Safari - 1006
>>>
>>> It doesn't return 403 HTTP status code. Seems it works fine, but I think
>>> I need to test it more.
>>> So the expected close code appears only in Firefox. Should I consider it
>>> as the browser issue?
>>>
>>>
>>> Hi!

 Close code 1006 means that the connection was closed abruptly by the
 other end (basically, the socket just got chopped off without an actual
 close frame being sent).

 This is what happens when you close during the handshake, which is what
 closing during connect() does - at that point, the connection is still HTTP
 before the upgrade has finished, and so Channels sends a HTTP 403 response
 code down instead. Looks like your browser interprets this as code 1006 for
 a websocket.

 There's no way to change the HTTP response code sent when a handshake
 is terminated at the moment - it's hardcoded (as you can see in Daphne's
 serverReject method, here:
 https://github.com/django/daphne/blob/master/daphne/ws_protocol.py#L200
 ).

 Given that no browser I know of will actually tell you the HTTP
 response code in this case, I don't think there's much value in letting it
 be changed - you're always going to see an aborted WebSocket connection
 code instead. If you want to provide more detail to the user, you can
 instead accept the socket, letting the handshake finish, and then close it
 immediately with a custom WebSocket close code (you can do all of that
 inside connect, I think).

 Andrew

 On Thu, Jun 21, 2018 at 2:52 PM Kirill Tyushchakov 
 wrote:

> Hello everyone!
> I'm new in Django Channels. I'm using Channels 2.0 and I have few
> questions about it.
> I'm using JsonWebsocketConsumer class for my consumer and I wrote my
> definition of connect method like this:
>
> def connect(self):
> user = self.scope.get('user')
> if user.is_anonymous:
> super(NotificationsConsumer, self).connect()
> else:
> self.close(code=4003)
>
>
> On client side I'm using native JS Websocket.
> But when I try to connect to this socket as unauthorzied user I get
> code 1006 and HTTP response status code 403.
>
> My questions is:
> 1) How can I send custom close code to client?
> 2) Can I send another HTTP response status code? In my case 401
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/446d3be6-438b-4e59-ad4f-7841895f4fcb%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
 --
>>> 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...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/b758b6f7-91f0-43b8-8ea8-087c137598c4%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> 

Re: Questions about MySQL notes in Django docs

2019-01-23 Thread RETAIL CYBER
i cant even get it to load


On Wed, Jan 23, 2019 at 4:09 AM Carsten Fuchs  wrote:

> Dear Django group,
>
> can you please help me with some questions about
> https://docs.djangoproject.com/en/2.1/ref/databases/#mysql-notes ?
> (I've been using Django with an Oracle database for years, but I'm new
> to MySQL.)
>
> a) Does "Django supports MySQL 5.6 and higher." cover MySQL 8? (I'm not
> sure about the status of some tickets and PRs.)
>
> b) Why is the "mysqlclient" client the recommended choice?
>
> c) Using MySQL 8 and considering
> https://code.djangoproject.com/ticket/18392, should we set utf8 or
> utf8mb4 as the character set?
> https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-sets.html
> indicates that utf8 is an alias to the deprecated utf8mb3 even with MySQL
> 8.
>
> d) Why is isolation level "read committed" preferred over "repeatable
> read"? The text says "Data loss is possible with repeatable read.", but
> how can "repeatable read" have data loss that "read committed" has not?
>
> Thank you!
>
> Best regards,
> Carsten
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7d5c0f45-95eb-461b-ace5-3a823aacd2c7%40cafu.de
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_At-91DMscbZzqL7Njt_q6Px7K_ferTF1cZCNcgcgFtsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django Databade

2019-01-22 Thread RETAIL CYBER
when installing on home system will this be like some time of virtual 
db system or should i use like pip to install into the django server? just 
like everything else? im looking to move to my main server I know my host 
has mysql?
please help me id be very appreciative. 

On Tuesday, January 22, 2019 at 12:02:58 PM UTC-6, Matthew Pava wrote:
>
> You can install PostgreSQL on your home system, if I understand your 
> concern correctly.
>
>  
>
> *From:* django...@googlegroups.com  [mailto:
> django...@googlegroups.com ] *On Behalf Of *RETAIL CYBER
> *Sent:* Tuesday, January 22, 2019 10:43 AM
> *To:* django...@googlegroups.com 
> *Subject:* Re: Django Databade
>
>  
>
> My thing is I'm trying to get it to my server I have vps most tutorials I 
> see are in the view of someone running it on thier home system.
>
>  
>
>  
>
> On Tue, Jan 22, 2019, 9:08 AM Matthew Pava   wrote:
>
> PostgreSQL is my preference.  Stick with the built-in backends:
> https://docs.djangoproject.com/en/2.1/ref/settings/#engine
>
>
>
> -Original Message-
> From: django...@googlegroups.com  [mailto:
> django...@googlegroups.com ] On Behalf Of 
> official...@gmail.com 
> Sent: Tuesday, January 22, 2019 8:06 AM
> To: Django users
> Subject: Django Databade
>
> Guys please kindly advise me, what db is pleasant for django projects, 
> been trying to use firebase with pyrebase but it is slow and not efficient.
> 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 django-users...@googlegroups.com .
> To post to this group, send email to djang...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/8041ecf4-ab38-4ce3-adf1-7341dc309195%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> 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...@googlegroups.com .
> To post to this group, send email to djang...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/1a4f0e9415bb480f90c6558e5da7b44e%40iss2.ISS.LOCAL
> .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> 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...@googlegroups.com .
> To post to this group, send email to djang...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGNKn_BSeEsKOnN0NyzKebU%2BzbOZcc1T8E1Q_FRJDTyT9FX%2BEA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-users/CAGNKn_BSeEsKOnN0NyzKebU%2BzbOZcc1T8E1Q_FRJDTyT9FX%2BEA%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c79ff119-4f6e-4f13-8474-77a039a1a4a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Poll Tutorial: I'm stuck I have mysql on my vps I created the database

2019-01-22 Thread RETAIL CYBER
has anyone ever install the django on a live web hosting service? if so 
when it comes to using db is the db virtual just like djangoEnv or do i use 
the mysql thats on my host? i have a vsp??

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fb36ebb9-ad3c-448a-a290-2fac0f7cd345%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Add fields Django admin

2019-01-22 Thread RETAIL CYBER
has anyone ever install the django on a live web hosting service? if so
when it comes to using db is the db virtual just like djangoEnv or do i use
the mysql thats on my host? i have a vsp??

On Tue, Jan 22, 2019 at 6:17 PM 'Christian Hetmann' via Django users <
django-users@googlegroups.com> wrote:

> Hi,
>
> If I understand you right, you need to import your model (iPhone) in the
> admin.py file of your WebApp. And then register „admin.site.register(iPhone)“
> (without the quotes).
>
> Good luck,
> Christian
>
> Am 22.01.2019 um 22:44 schrieb Alexandr Bulgakov  >:
>
> Hello All!
>
> I need help(
>
>
> There is a class, it has 2 fields. I need to add an add button to display
> these fields again when required.
> models.py:
>
> class IPhone(models.Model):
>> iPhone_name = models.CharField(max_length=50)
>> iPhone_image = models.ImageField(upload_to='models', blank=True)
>>
>> price_name = models.CharField(max_length=150, default=' ')
>> price_cell = models.IntegerField(default=0)
>>
>> def __str__(self):
>>
>> return '{}'.format(self.iPhone_name)
>>
>>
> 
>
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/c79b62de-fc5c-4acd-917c-8068b3e2e370%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
> 
>
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/F5681DD7-3BC9-4A31-A9BE-F3344FC0D26F%40icloud.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_BEzgXswTmymTW8Taeb6ux6v1Y_q17O7up_BKUpw%2BUaFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Change the parenthesis on the directory

2019-01-22 Thread RETAIL CYBER
has anyone ever install the django on a live web hosting service? if so
when it comes to using db is the db virtual just like djangoEnv or do i use
the mysql thats on my host? i have a vsp??

On Tue, Jan 22, 2019 at 6:31 PM Jason  wrote:

> that's the virtual env name you specify when creating the venv.  by
> default, venvs don't support renaming, so I would do a pip freeze >
> requirements.txt with the venv active to output your env requirements, then
> delete the venv and create another one with the name specified.
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/486433cf-b406-4118-b64f-4e2e6c5b4df3%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_ARCpTfjLjfHnvsq5MJ6GAMSNj5JT%3DPeOif9je_9tYJMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django Databade

2019-01-22 Thread RETAIL CYBER
When your using that db do u install it in your virtual environment. My
vps  has mysql.

On Tue, Jan 22, 2019, 4:45 PM omar ahmed  Postgresql is the best db for Django projects
>
> بتاريخ ٢٠١٩/٠١/٢٢ ٤:٠٧ م، كتب :
>
>> Guys please kindly advise me, what db is pleasant for django projects,
>> been trying to use firebase with pyrebase but it is slow and not efficient.
>> 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 django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/8041ecf4-ab38-4ce3-adf1-7341dc309195%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOy9vcNC56bkB5BFXWHgv-uWbAnC_1yCfgf2QG5nHC135D66AA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_C6Swhwm-dCx84E2K%2BWzzoHaVqtwtR0eo3JEFc2jSEbPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Looking for a Django Co-Founder.

2019-01-22 Thread RETAIL CYBER
im having problems connecting to a mysql db can u help

On Tue, Jan 22, 2019 at 12:40 PM Roshan Shah  wrote:

> Hi there,
>
> I am also looking for one for a job portal idea.
>
> There is also a group on linked in
> https://www.linkedin.com/groups/10310318/ where people with ideas and who
> are looking for co-founders can use.
>
> If anyone is interested in job portal idea, please ping me if there is a
> django solution that I can use and contribute to in this space, please let
> me know.
>
> Roshan
> P.S : I live in Waterloo, ON ( Eastern Time Zone)
>
> On Tue, Jan 22, 2019 at 10:58 AM  wrote:
>
>> New to django but i am a great talent and beside would like to join the
>> team. Here is my whatsapp contact +239039712085
>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/1b73c19d-9c13-4c78-920f-937d189adafd%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> --
>
> Roshan Shah / Sr. IT Consultant
> techieros...@gmail.com / (519) 496-8860
>
> This e-mail message may contain confidential or legally privileged
> information and is intended only for the use of the intended recipient(s).
> Any unauthorized disclosure, dissemination, distribution, copying or the
> taking of any action in reliance on the information herein is prohibited.
> E-mails are not secure and cannot be guaranteed to be error free as they
> can be intercepted, amended, or contain viruses. Anyone who communicates
> with me by e-mail is deemed to have accepted these risks.
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALX19Nh3CGbemc7yaJkBXAfbH%3D1xrGxExGhy22fZT%3D%3Dx7h8AoQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_B1jX3_WuMwBLnDAPf9fGqTjdGN6vMN8MS9BaUhBVmLKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django Databade

2019-01-22 Thread RETAIL CYBER
My thing is I'm trying to get it to my server I have vps most tutorials I
see are in the view of someone running it on thier home system.


On Tue, Jan 22, 2019, 9:08 AM Matthew Pava  PostgreSQL is my preference.  Stick with the built-in backends:
> https://docs.djangoproject.com/en/2.1/ref/settings/#engine
>
>
>
> -Original Message-
> From: django-users@googlegroups.com [mailto:django-users@googlegroups.com]
> On Behalf Of officialjoemay...@gmail.com
> Sent: Tuesday, January 22, 2019 8:06 AM
> To: Django users
> Subject: Django Databade
>
> Guys please kindly advise me, what db is pleasant for django projects,
> been trying to use firebase with pyrebase but it is slow and not efficient.
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8041ecf4-ab38-4ce3-adf1-7341dc309195%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1a4f0e9415bb480f90c6558e5da7b44e%40iss2.ISS.LOCAL
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_BSeEsKOnN0NyzKebU%2BzbOZcc1T8E1Q_FRJDTyT9FX%2BEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django Databade

2019-01-22 Thread RETAIL CYBER
My thing is my vps has mysql so I don't use that is it all virtual db
that's what I'm not understanding

On Tue, Jan 22, 2019, 9:08 AM Matthew Pava  PostgreSQL is my preference.  Stick with the built-in backends:
> https://docs.djangoproject.com/en/2.1/ref/settings/#engine
>
>
>
> -Original Message-
> From: django-users@googlegroups.com [mailto:django-users@googlegroups.com]
> On Behalf Of officialjoemay...@gmail.com
> Sent: Tuesday, January 22, 2019 8:06 AM
> To: Django users
> Subject: Django Databade
>
> Guys please kindly advise me, what db is pleasant for django projects,
> been trying to use firebase with pyrebase but it is slow and not efficient.
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8041ecf4-ab38-4ce3-adf1-7341dc309195%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1a4f0e9415bb480f90c6558e5da7b44e%40iss2.ISS.LOCAL
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGNKn_C%2B7GoinYwufT89xTnh%2BM6Ar8S%2BOyTQ8FFrKd5PbXWYQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Been having problems getting things running correctly on my Vps doing the blog tutorial. having problems loading mysql db

2019-01-22 Thread RETAIL CYBER
I'm following your tutorial here 
https://docs.djangoproject.com/en/2.0/intro/tutorial02/
I had to goto a different post to find out how to do the mysql and got 
stuck the other tutorial told me this is how you connect.
my vps has the following db made since thats what the django polls tutorial 
told me todo. dbz name urbanpyt_polls
this is my first time here. ive very patient.


this what i have altered this is my first time

I made this db this is on my vps server
urbanpythoncoding.com

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'urbanpyt_polls',
'USER': 'urbanpyt_dbz',
'PASSWORD': 'shawn316566613'
'HOST': 'localhost',
'port': '',
}
}

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9226f99b-5536-443b-aeb9-d5bc74cd08a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Poll Tutorial: I'm stuck I have mysql on my vps I created the database

2019-01-22 Thread RETAIL CYBER
all tutorials ive seen is in the view of someone doing it on a home pc
how can i connect to mysql thats already on my vps server. its with centos 
linx


im following this tutorial
https://docs.djangoproject.com/en/2.0/intro/tutorial02/


what I altered below:


DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'urbanpyt_polls',
'USER': 'urbanpyt_dbz',
'PASSWORD': 'shawn316613'
'HOST': 'localhost',
'port': '',
}
}

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/554da5eb-099b-46be-9332-913ba6643752%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.