On Friday, June 19, 2020 at 10:36:11 AM UTC+4:30, Mohsen Pahlevanzadeh
wrote:
>
> Hello,
>
> I have two sql files : 1.creating tables 2.INSERT data
>
> Now I want to import to my database and generating my models.py according
> to my sql files.
>
> Is it possible?
>
>
> if true, please guide me
I run :
./manage makemigrations and ./manage migrate with the following output:
"""
(django_sql) mohsen@debian:~/Documents/django_sql/django_sql$ ./manage.py
makemigrations
Migrations for 'sql':
sql/migrations/0
Hello ,
I want to implement a Notification module in my Project
could you please help me out!
Thank you
-Meera Gangani
--
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, s
Hi,
Try this.
https://simpleisbetterthancomplex.com/packages/2016/08/11/django-import-export.html
https://docs.djangoproject.com/en/3.0/howto/initial-data/
https://django-import-export.readthedocs.io/en/latest/getting_started.html
On Fri, Jun 19, 2020 at 11:37 AM Mohsen Pahlevanzadeh <
m.pahlev
Hello,
I have two sql files : 1.creating tables 2.INSERT data
Now I want to import to my database and generating my models.py according
to my sql files.
Is it possible?
if true, please guide me.
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
But if I use SQL Alchemy, can I use django admin panel. Because need that.
--
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
enter inside your project directory using command cd project_name in
termina and run manage.py runserver
On Fri, Jun 19, 2020 at 6:52 AM Thomas Furtado
wrote:
> Hii, thanks for answering but it didn't work
> Now it showed: no module named 'django.contrib.statics'
>
> Em qui, 18 de jun de 2020
Hii, thanks for answering but it didn't work
Now it showed: no module named 'django.contrib.statics'
Em qui, 18 de jun de 2020 22:03, chaitanya orakala
escreveu:
> Hi Thomas,
> Please run the following commands to solve this problem, before running
> the server.
>
> python manage.py makemigratio
Hi Thomas,
Please run the following commands to solve this problem, before running the
server.
python manage.py makemigrations
python manage.py migrate
and then command
python manage.py runserver
Hope this helps. Let me know if you have any questions
On Thu, Jun 18, 2020 at 6:15 PM Thomas Furta
Hi, I've seen you sent this last year and I'm having the same error message
at my pycharm... Did you solve this?? could you help me with this please??
Em sábado, 13 de julho de 2019 08:35:31 UTC-3, Jack Bergemann escreveu:
>
> (venv) C:\Users\Chas\rp-portfolio\personal_portfolio>python manage.py
Hi all! I'm no frontend person, but I do help triage issues in
djangorestframework-simplejwt. It's probably one of the most used
authentication library for DRF users and most of all frontend framework
devs of Django (i.e. React, Angular, Vue).
I've been getting lots of comments about issue #1
Microsoft Windows [versão 10.0.18362.900]
(c) 2019 Microsoft Corporation. Todos os direitos reservados.
(venv) C:\Users\User\PycharmProjects\curso-udemy-master>python manage.py
runserver
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent cal
Use SQL Alchemy ORM , Django ORM has foreign key policy , if u can solve it
using that it's on u ..
On Fri, Jun 19, 2020, 01:23 MANISH YADAV wrote:
> hello community members,
> I am a student and interested in Django. can you please help me.
> I am designing a project in Django. For that, I have
I've been facing a migration problem when using a *through* table on
many-to-many relationship.
When I create the migration using modles configured as follow ...
# src/apps/core/valuation/models.py
from django.utils import timezone
from django.db import models
from django.utils.translation impo
hello community members,
I am a student and interested in Django. can you please help me.
I am designing a project in Django. For that, I have my database schema
which consists of the composite primary key and composite foreign key. But
Django does not support any type of composite key.
I have tr
in your template, open a js block
{% block javascript %}
Hi,
Yesterday and today I implemented something and I had a surprise. I'm
explaining here with questions at the end but also in case that I might
save some time to someone working with forms (if someone is going to try
the same approach that I did and it doesn't work).
What I want to do: the u
DRF causes serialization of data and converts it to JSON, making it an
efficient way to communicate with your frontend. An API allows you to
build a common core that can be used on multiple platforms like websites,
mobile applications, plugins, and so on.
You can build an API with pure Django too.
Like Shishir says it's not using DRF instead of django, It's DRF on top of
django.
The main reason for using DRF instead of using django by itself is that you
get an enormous consistency. Serialization is really simple, you get
validation on all fields with valid JSON results. You get all of the s
Hello Community Members,
Can you please point me towards resources for using Javascript /Jquery
/AJAX with Django,
Want to create single page application which can send /receive data without
reloading to different pages and to be able to show progress of an ongoing
operation through percentage
Its not that use drf "over" django. Its like you use drf "with" django.
Whenever you want to create rest api, django rest framework is the library
created to do that more usually. Django on the other end is a framework to
create web application. There is never the case when you are using drf and
no
The site is perfectly working on itself by default but when I convert it in
Django format the only menus. not working when I browse the site in mobile
device mode.
here is the pic when it is in default mode [image: Screenshot-33.png]
After converting in Django format the above pic right side l
Here is the full project Github link (
https://github.com/hudacse6/Tourist_Site)
All of the tasks work well but only the menu means when I try to browse the
site the manus does not show.
[image: Screenshot-33.png]
[image: Screenshot-34.png]
The menu,s are shown perfectly when I code of tha
Apart from Rest API & serializer why I should use DRF over Django Because
We could write what we want in Django & I want to know the advantage of
using DRF over Django
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this gr
ok
Meera
So whats the problem
Just create it
If you have any query just ask
To me
On Thu, Jun 18, 2020, 4:54 PM meera gangani
wrote:
> Hello ,
>
> I want to implement an employee leave module in django??
> "Am New" in django
> Please help me?
>
> Thanks in advance
> -Meera Gangani
>
> --
> You r
Hello ,
I want to implement an employee leave module in django??
"Am New" in django
Please help me?
Thanks in advance
-Meera Gangani
--
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
thanks again Richard, this helped a lot
On Wed, 17 Jun 2020 at 16:07, Richard Balwane
wrote:
> -> Do a .whl installation - In the environment!
> Download "GDAL-3.0.4-cp37-cp37m-win_amd64.whl", if using Python 3.7 on
> Windows 64-bit
> Say...
> Command(env activated, path to the file):
> python
Hej Lejaha
On 18/06/2020 11.42, lejaha...@gmail.com wrote:
Created a an application that generates pdf-files from latex templates
saved on the project, using the subprocess('pdflatex nameofTemplate' )
method.
The application works fine, locally. But does not work on the server and
returns "[Er
Created a an application that generates pdf-files from latex templates
saved on the project, using the subprocess('pdflatex nameofTemplate' )
method.
The application works fine, locally. But does not work on the server and
returns "[Errno 2] No such file or directory: 'pdflatex mytexfile.tex':
If your wish whatever you want to use, all you have to use is the “request” variable that Django gives you. Btw see “generic views”. Sent from Mail for Windows 10 From: yashwanth balanaguSent: 18 June 2020 12:23To: Django usersSubject: why in views we use def(functions) and model we use class, why
30 matches
Mail list logo