Hi,
>From one year ago, I am using an own command for Django templates that
unify them. With an example it is easy to see. If I am to render for
example a template call news.html like it:
1. news.html
{% extends "base.html" %}
{% block title %}
{% include "inc.news.title.html" %
I am new Django framework. I want to create a user profile for my app. But
i start to create the user profile then i direct to create Admin profile
which is already created in Django. I want to create a user Profile. Can
you direct me?
--
You received this message because you are subscribed to
I learned the basics through this
course: https://www.udemy.com/python-django-dev-to-deployment/
It's verry wel structured and you make a whole project and see all the
basics of Django.
Op woensdag 16 januari 2019 14:20:15 UTC+1 schreef cale...@gmail.com:
>
> Hi All,
>
> I'm just starting out
I use MySQL as my default database, and I just used this database in unit
tests.
But he used all my database connections while executing the
"connections_support_transactions" function.
This caused all my data in MySQL initialization to be clear.
I modified the code of TestCase to this way.
Hi,
Since you'll need to update the files on the server, you must have a write
access to it.
Usually, FTP is no more activated on servers, because not secure at all. This
can be the reason why the access is denied. There should be an ssh access
available, so that you can connect on the server
Hi, Thanks everyone for their time :)
I want to ask about the custom User model and I can also login with social
auth also. If anybody has code please let me know.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
Do you mean you want to create your custom user model?
Two ways to do it,
1. create a profile model and use foreign key to the user model that Django
provided.
2. create a custom user model like this
https://wsvincent.com/django-custom-user-model-tutorial/
senthu nithy於 2019年1月17日星期四 UTC+8下午8時4
First you need to create a model for the User Profile.
On Thu, 17 Jan 2019, 17:49 ANi Do you mean you want to create your custom user model?
> Two ways to do it,
> 1. create a profile model and use foreign key to the user model that
> Django provided.
> 2. create a custom user model like this
> h
I am beginner with Django. I've downloaded an open source Django project to
start learning and I've installed PostGres and PgAdmin and tested them.and
I have checked all details in the settings.py (especially the password) to
link the project to the database created on PgAdmin.
However when I ru
We've made the first release on the way to Django's next major
release, Django 2.2!
With about two and a half months until the
final release (scheduled for April 1), we'll need timely testing
from the community to ensure an on time, stable release.
Check out the blog post:
https://www.djan
did u install psycopg2 using pip,
that is, pip install psycopg2
i see its a connection error make sure u have psycopg2 connector installed
in your environment
#%£&
On Thu, 17 Jan 2019 6:22 pm Nadhem Zmandar I am beginner with Django. I've downloaded an open source Django project
> to start learn
Hello I have bought what you suggested and is above my expectations, i am
100% percent satisfied wit htis book.
Thanks!
2019. január 8., kedd 18:26:58 UTC+1 időpontban Okware Aldo a következőt
írta:
>
> Django 2 by example - Antonio Mele and Django design patterns.
>
> On Tue, 8 Jan 2019, 16:5
https://docs.djangoproject.com/en/dev/internals/contributing/
On Wednesday, January 16, 2019 at 1:49:27 PM UTC-5, Harsh Agarwal wrote:
>
> hello , I am new here and i also want to contribute to this project . Can
> anyone please help me on how should i begin to contribute?
>
--
You received thi
PYTHONWARNINGS=error is too much.
How can I call warnings.filterwarnings() to make all *Django*
DeprecationWarnings into errors?
--
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,
Great - I want to add it to some tox tests that I only run on demand. It
isn't yet on pypi, right?
On Thursday, January 17, 2019 at 10:40:21 AM UTC-5, Carlton Gibson wrote:
>
> We've made the first release on the way to Django's next major
> release, Django 2.2!
>
> With about two and a half
Now I see it...
On Thursday, January 17, 2019 at 11:31:24 AM UTC-5, Dan Davis wrote:
>
> Great - I want to add it to some tox tests that I only run on demand. It
> isn't yet on pypi, right?
>
> On Thursday, January 17, 2019 at 10:40:21 AM UTC-5, Carlton Gibson wrote:
>>
>> We've made the first
Hello everyone,
I used django framework for developing a web application.
Now, I'd like to adjust the application to every devices' monitor (desktop,
tablet, mobile).
I'm used to using http://responsivedesignchecker.com/ to check website
responsive. But while I test my django website through thi
You can use the category kwarg of filterwarnings[0] to pass the Django
deprecation
warning classes.
They can be found in the django.utils.deprecation module. (e.g.
RemovedInDjango30Warning).
Cheers,
Simon
[0]
https://docs.python.org/3/library/warnings.html?highlight=filterwarnings#warnings.fi
Shell Output after entering command is
PS E:\todo> . \Scripts\activate
. : The term '\Scripts\activate' is not recognized as the name of a cmdlet,
function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
try .\scripts\activate.bat
On Thu, Jan 17, 2019 at 2:18 PM Django Geek Aditya
wrote:
> Shell Output after entering command is
> PS E:\todo> . \Scripts\activate
> . : The term '\Scripts\activate' is not recognized as the name of a
> cmdlet, function, script file, or operable
> program. Check the
I assume that's in Windows Powershell. I think it's .\Scripts\activate.bat
I would also check to ensure that the Scripts folder exists in your current
directory.
-Jorge
On Thu, Jan 17, 2019 at 11:18 AM Django Geek Aditya
wrote:
> Shell Output after entering command is
> PS E:\todo> . \Scripts\
if linux, then activating the env is source/bin/activate
after changing to that directory
On Thu, Jan 17, 2019 at 10:22 PM Jorge Gimeno wrote:
> I assume that's in Windows Powershell. I think it's .\Scripts\activate.bat
>
> I would also check to ensure that the Scripts folder exists in your
> cu
Good point you brought up.
I had a look and realised that although I installed python3, I also have
python2 since my terminal acknowledges a python2. I had to input in the
terminal if python3 was installed and it confirmed it too.
Am I missing something here?
Do I need to delete one python (ob
I've installed psycopg2 before running he server. So I think it's an other
problem
Le jeu. 17 janv. 2019 à 16:50, Harryxon Ndegwa
a écrit :
> did u install psycopg2 using pip,
> that is, pip install psycopg2
> i see its a connection error make sure u have psycopg2 connector installed
> in your e
Right so update, thank you btw
I managed to change it so python3 is default by using 'alias'? and echo
PATH(?) to save it.
With all that said and done, I was ready to start django (having confirmed
both python and django are update and compatible with each others'
versions).
I went on django'
I will then try like this in my manage.py:
if len(sys.argv)>1 and sys.argv[1] = 'test':
warnings.filterwarnings(...)
Thanks,
-Dan
On Thu, Jan 17, 2019 at 1:08 PM Simon Charette wrote:
> You can use the category kwarg of filterwarnings[0] to pass the Django
> deprecation
> warni
Can you tell which os ur using.
On Fri 18 Jan, 2019 12:48 am Django Geek Aditya Shell Output after entering command is
> PS E:\todo> . \Scripts\activate
> . : The term '\Scripts\activate' is not recognized as the name of a
> cmdlet, function, script file, or operable
> program. Check the spelling
Thank you ANi and Alex. I will refer both links
K.Senthuja
Undergraduate Student (UOJ),
https://www.linkedin.com/in/senthuja/
https://medium.com/@senthujakarunanithy
On Thu, Jan 17, 2019 at 8:41 PM Alex Kimeu wrote:
> First you need to create a model for the User Profile.
>
> On Thu, 17 Jan 201
Use this command this worked for me. Set-ExecutionPolicy
Unrestricted
On Friday, January 18, 2019 at 12:48:35 AM UTC+5:30, Django Geek Aditya
wrote:
>
> Shell Output after entering command is
> PS E:\todo> . \Scripts\activate
> . : The term '\Scripts\activate' is not recognized as the na
In Windows, you can active by 'cmd' :D
Vào 02:18:35 UTC+7 Thứ Sáu, ngày 18 tháng 1 năm 2019, Django Geek Aditya đã
viết:
>
> Shell Output after entering command is
> PS E:\todo> . \Scripts\activate
> . : The term '\Scripts\activate' is not recognized as the name of a
> cmdlet, function, script f
30 matches
Mail list logo