• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
C
C
Cyber_bober2016-03-10 04:03:19
Django
Cyber_bober, 2016-03-10 04:03:19

How to display all records of a logged in user?

Do I need to pass the user id via url or is it possible to get it inside the model?

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
D
Dmitry Voronkov, 2016-03-10
@DmitryVoronkov

request.user.pk

Similar questions
M
Mike2017-06-25 21:56:13
Why am I getting django.db.utils.InternalError: (1049, "Unknown database 'db'")? 2Reply
M
michael ivanov2015-07-17 18:01:47
When using wysiwyg editors in django, the text is not formatted properly. What to do? 3Reply
A
Alexey Andreev2019-11-24 21:39:05
What are the modules for django to implement the web interface for mail? 1Reply
A
AntonIgin2017-06-27 20:28:54
How to migrate content and database to newer Django site? 2Reply
W
Wayne2019-11-28 21:55:43
How to make a function run every half an hour in the background in Django? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners