Rock
After login show the user profile from database
Shreehari
!ot
👍
Anonymous
can anyone tell me a trick to replace —system-site-packages in virtualenv and instead install only required packages to the env for the cache
Anonymous
i can't download packages to the env everytime i work on a Django project
Anonymous
@PulsatingQuasar A little bit of help please
Rohan
Make a proper venv, try running your app
Rohan
Install modules on the way
Rohan
When you're done, do a pip freeze and maintain requirements.txt
Anonymous
Install modules on the way
i don't have internet connection 24/7, so can i use the system django for local to the virtualenv
Anonymous
Wokay
Anonymous
When you're done, do a pip freeze and maintain requirements.txt
yes i got that, i just want to know how to install packages from local rather than download them
Rohan
Once you install them in your virtualenv
Rohan
You don't need internet
Rohan
Just activate venv and done
Maz
i don't have internet connection 24/7, so can i use the system django for local to the virtualenv
This will freeze (to requirements.txt) and install unnecessary packages in your project which I'm sure you do not want.
Anonymous
You don't need internet
okay, let me clarify this lets assume i don't have connection but i already have Django installed in system packages not the virtualenv so i want to install the package to the virtualenv without connection
Anonymous
This will freeze (to requirements.txt) and install unnecessary packages in your project which I'm sure you do not want.
yes, so how can i solve that to install only required packages without a connection
Anonymous
if i use this command:
Maz
First, install virtualenv. Use it to create venv(s). There's really no workaround to lacking an internet connection though. It beats the logic of venv. IMHO.
Rohan
.... You know, it's automatic, if it exists in pip cache
Anonymous
$ virtualenv test1 —system-site-packages
Rohan
It'll show up when you install it
Anonymous
It'll show up when you install it
can i send u a screenshot
Rohan
But if it's not in pip cache or you explicitly choose --no-cache-dir
Rohan
https://stackoverflow.com/questions/11091623/python-packages-offline-installation
Rohan
Read this
Anonymous
.... You know, it's automatic, if it exists in pip cache
i didn't know it was automatic, thanks man! I didn't even bother to try it
Anonymous
Read this
Okay thank you man
Anonymous
Read this
I owe u, ur always helping me and others Thanks😇😇
Abhishek
how to make filefield/imagefiels optional @pyflare
Mirco
Have a look to blank and null to model/form fields
Anonymous
https://codemeda.com/ check django article's
Anonymous
guys
Anonymous
ı wanna my project translate
Anonymous
how an ı make ?
Happy
use i18n
puneet
Does anyone having android knowledge??
Doragonsureiyā
Does anyone having android knowledge??
Looks like you need an offtopic group, please continue this conversation at @PythonOfftopic
Sandy
Can anybody solve my error : ?:(staticfiles.E002) the STATICSFILES.DIRS settings should not contain the STATIC_ROOT SETTINGS.
Muflone
Look at your settings file
Jorge Luis
Can anybody solve my error : ?:(staticfiles.E002) the STATICSFILES.DIRS settings should not contain the STATIC_ROOT SETTINGS.
You must change the STATIC_ROOT url, or the other one in STATICFILES_DIRS that have conflict with it
Sandy
Ok thanks friend
Anonymous
Hey, May anyone help me in how to see a schema of database in django?
Nedd
Hey, May anyone help me in how to see a schema of database in django?
For sqlite, use sqlite browser to see the tables
Nedd
Iirc there's an extension in python that lets you see the ER diagram, by a db file
Nedd
this works in Redhat ?
I think it should work in all Linux distros. Never used redhat so can't confirm
striken
Any advanced search template example?
Jorge Luis
Hey, May anyone help me in how to see a schema of database in django?
For sqlite there are plugins for browsers, MySQL you can use phpmyadmin or MariaDB, and for postgresql PGADMIN. Some IDEs bring features for that
Muflone
Pycharm professional has integrated support for databases
Владислав
guys, iam at hackathon, so i need the solution real quick: how to switch off authentication for django admin? hope for you 🙁
Muflone
a hackaton is meant to test your competences, not to ask others to do your work
Владислав
it is meant to do a thing. If hackathon's goal is testing competences in your opnion, than i feel sorrow for you
Muflone
indeed you're asking for help
Anonymous
a hackaton is meant to test your competences, not to ask others to do your work
you can't say anybody what to do or not if you can't help him let other member reply him p.m and guide evry sinor was a begginer at a time
Владислав
ok, ill spend 30 sec on you. Do you really think i will remind myself after your pointless words?
inchidi
english only please
Doragonsureiyā
ok, ill spend 30 sec on you. Do you really think i will remind myself after your pointless words?
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
JorgeSierra
Greetings, group I have problems installing and running pycharm ce on debian 10 (with OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.). If someone can guide me I would appreciate it.
Oğuzhan
guys
Oğuzhan
i teach people about how to use django rest framework in Udemy
Oğuzhan
i want to use django rest framework logo in my cover picture
Oğuzhan
is there any restriction?
cj
is there any restriction?
you can ask that to DRF support 🤷🏻‍♂
Oğuzhan
how can i reach them?
Oğuzhan
i did not find any link
Oğuzhan
or email
cj
how can i reach them?
read their GitHub
Anonymous
being beginner doesn't mean to wait others to do your work
yes you right but beginner mean ask any where you can't understant or didn't know it too
Oğuzhan
thank you cj i nocited that it was at the bottom of the page.
Oğuzhan
now
Oğuzhan
i saw some people use it in their blog or something