Hi Django-user,
You can do simply change in* Settings.py.*
1. *First go on settings.py and look data base connection which is
connect with default dbsqlite3.*
2. *Remove there.*
3. *Search on google how to integrate mysql with django..*
4. *then connect with your django*
5. *Ma
Hi,
- I don't see where you include the urls from the reviews app in your main
urls.py file.
- To use the "review:detail" notation, you need to enable namespaces.
So it seems that what you lack in your mysite/urls.py file is
path("reviews/", include("reviews.urls", namespace="reviews")) You shoul
I did put reviews/urls.py:
from django.urls import path, include
from . import views as v
app_name="review"
urlpatterns = [
path("", v.ReviewsDetail.as_view(), name="detail"),
]
Also if I replace name parameter with namespace I get:
TypeError: _path() got an unexpected keyword argument 'namesp
use the Django-channel library to making chatbot application
On Tue, Sep 3, 2019 at 1:40 AM niranjan shukla
wrote:
> Please help !!
>
> As I am building a social site and I want to add a chat app so that the
> user can chat with his friend which he follows.
>
> So anyone knows chat app tutorial
i nstalled django2 and mysql 5.0
> I am getting this error while i give python manage.py migrate
>
> raise MigrationSchemaMissing("Unable to create the django_migrations table
> (%s)" % exc)
> django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create
> the django_migrations table
namespace is an argument of the include function and you can remove the
name argument to path.
Julien Enselme
Développeur chez BureauxLocaux
Le mar. 3 sept. 2019 à 13:28, Pasquale a écrit :
> I did put reviews/urls.py:
>
> from django.urls import path, include
> from . import views as v
> app_n
use this tutorial, it is good
https://youtu.be/RVH05S1qab8
I followed it to realize my chat application
Le mar. 3 sept. 2019 à 15:57, parmeshwar deharkar <
parmeshwardehar...@gmail.com> a écrit :
> use the Django-channel library to making chatbot application
>
> On Tue, Sep 3, 2019 at 1:40 AM
Django 2.0 only supports MySQL 5.5+.
I suspect you're getting a syntax error when Django tries to create a table
mapping
a model with a DateTimeField since it resolves to DATETIME(6) which is not
supported
on MySQL < 5.5.
Cheers,
Simon
Le mardi 3 septembre 2019 09:58:19 UTC-4, johnsi rani a éc
Tell me for Django 1.11.9
It is for Django 2.0
--
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 view this discussio
I believe that Simon says.
Get out the date and time fields and see what appen. After you can add the
date and time fields directly on DB and put them in your models and forms
also
luck
El mar., 3 sept. 2019 a las 9:57, johnsi rani ()
escribió:
>
>
> i nstalled django2 and mysql 5.0
>> I am gett
I'm wondering how to make my tests fast while also having a lot of data
defined in the models.
This project is already using sqlite3 and the tests are single-threaded.
My ideas are:
- Specify a different sqlite3 file and keepdb for different tests -
presumably with @override_settings
I will just use fixtures, natural-keys, and an in-memory database.
--
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
Applied your suggestion,now I get
django.urls.exceptions.NoReverseMatch: Reverse for 'detail' not found.
'detail' is not a valid view function or pattern name.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and st
On 4/09/2019 6:51 am, Dan Davis wrote:
I'm wondering how to make my tests fast while also having a lot of
data defined in the models.
This project is already using sqlite3 and the tests are single-threaded.
My ideas are:
* Specify a different sqlite3 file and keepdb for different tests -
Hi all,
I have a set of views in a superclass/subclass hierarchy like this:
- mobile_view is a subclass of
- generic___view is a subclass of
- django-extra-views formset support view
As expected, the django-extra-views formset support's "post()" logic does a
"if form.is_valid() then for
[image: image.png]
*settings*
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'NAME': 'PRUEBA_PYTHON_DJANGO',
'HOST': ' MSSQLSERVER_2014',
'USER': 'sa',
'PORT': '1433',
'PASSWORD': '@d',
'OPTIONS': {
'driver': '
On Wed, Sep 4, 2019 at 4:52 AM Dan Davis wrote:
> I'm wondering how to make my tests fast while also having a lot of data
> defined in the models.
> This project is already using sqlite3 and the tests are single-threaded.
>
>
Django support parallel, you can use multi process to save time.
> -
Hi,
I need help i am not understanding the keywords of joining and fetch value
in veiw.py
i have three tables in model.py
Table 1(Author) :
Table 2(books):
Table 3 (details):
FK of table1
FK of table2
Fk = foreign key
I have to just show
Author (author name) Books (dynamic) Books(a
Hi Amit,
You can use
=≠=
Book.objects.select_related(FK).select_related(FK). values (select column
name which you want).all()
Thanks
Bhoopesh sisoudiya
On Wed, Sep 4, 2019, 9:38 AM Amit Samanta wrote:
> Hi,
>
> I need help i am not understanding the keyword
Hi Everyone
Can anybody suggest me
How can i share one Database Sqlite between 2 app on pythonanywhere.
Currently i have deployed one project on PythonAnywhere.
I have purchases 2 App.
Now i can execute 2 App simultaneous.
I have deployed app1.pythonanywhere.com and app2.pythonanywhere.com
app1
Could you please elaborate/be more clear about what you are really trying
to do ?
On Wed, 4 Sep 2019, 10:26 Bhoopesh sisoudiya, wrote:
> Hi Amit,
>
> You can use
> =≠=
> Book.objects.select_related(FK).select_related(FK). values (select column
> name which you
21 matches
Mail list logo