Anonymous
Admin of this group has restrictred me
Anonymous
But when i looked onto datasource there is no table of it
Anonymous
But in migrations it is there
Anonymous
Okay
Anonymous
PostgresSql
Anonymous
I have to models one is being created and another is not
cj
and check if it's the same that you are looking in your datasource
cj
Anonymous
I v been doing this a long ago no result
cj
Anonymous
Okay doing
Anonymous
No migrations to apply
Anonymous
My project is onto github can you look there
Anonymous
Sorry application
Anonymous
Brother @CJDP25 what should i do now.
cj
Anonymous
https://github.com/Shubham0257/drf_events
cj
ok wait, I'll take a look
Anonymous
Ill wait
cj
Ill wait
I just run migrate and I have your models create in the database 🤷🏻♂️
cj
Sorry application
why don't you upload your whole project? 🤔 maybe you have something configured in the wrong way 🤷🏻♂️
Anonymous
Models have no problem, but the second studenttable is not creating
Anonymous
And uploading whole project ill do in a second
Anonymous
Then Why its is creating problem with me
Anonymous
If you have used my code then there must not be any problem i guess
Anonymous
Okay i m doing it
Anonymous
Can i just share the pastebin of settings.py
Anonymous
Here
cj
okay... I'm leaving, I have to work, but you can continue asking, maybe somebody else will help you
Anonymous
https://pastebin.com/E8ta4S48
Anonymous
Hey @CJDP25 your onto my problem just look onto this pasebin for last time
cj
cj
I suggest you share the whole project 🤷🏻♂️
Anonymous
Okay doing
Anonymous
Hey @CJDP25 done under new branch please check
Django Bot
>> Links
- Django-Rok : Public URL for your local web server – Ankur Jain – Medium
- Persistent database connections with async workers on Django >= 1.6 fails ·
- robinhood/deux: Multifactor Authentication for Django Rest Framework
- robinhood/thorn: Easy Webhooks for Python
cj
Hey @CJDP25 done under new branch please check
Sorry but, I was expecting a complete django project ready to use... I mean I can have your project up and runnig for testing by:
1. Clone the project
2. Install requirements
[2.1 optional: Configure settings.py]
3. Run migrations
4. Run python manage.py runserver
if I can't do that with the files you share, I won't spend my time configuring the whole project.
Anonymous
Okay i got something related error hope this hint helps: Now i removed studenModel and makemigrations done thereafter when migrate it giving studenModel not avaialble. What i think is migrations are not able to register with final step i.e. migrate which is causing the problem
Anonymous
The solution is tp migrations from very scratch
Anonymous
@CJDP25 i got the reason :: By mistake or foolishnes i have delete datasource at once fromthere migarte is not working and keepon repating onto the previous
Anonymous
So there are 2 solutions one from scratch start and another i don't knwo
Anonymous
Waiting fro your reply @CJDP25 and #django_restframework
A⃠r⃠a⃠v⃠i⃠n⃠d⃠
Guys i want basic tuttorial for django operation with databse
A⃠r⃠a⃠v⃠i⃠n⃠d⃠
Like CRUD
Anonymous
Django docs is the key, hit there poll application is waiting there
Anonymous
For you
Django Bot
>> Links
- Django 2.1 release notes | Django documentation | Django
Django Bot
>> Links
- Python strftime reference
Django Bot
>> Links
- Time Zones in Pytz & Django
Piyush
Any one have oauth2 documentation??
cj
Anonymous
Hey People, I have 2 Models named Model1 and Model2. I want a another model named Model3 having 2-2 columns from Model 1 and 2 . How it can be done , if with relations ill be very happy . #django_restframework #django
Jimmies San
cj
Anonymous
Anonymous
Anonymous
I have setuped my design on my pad. So No
Anonymous
Can i makeuseof Inheritance here
Anonymous
Anonymous
Ill make use of asof now
Anonymous
Jimmies San
because maybe i tell you "look that things" and is not correct
Jimmies San
ERD is a scheme tables with namefield and relations
Jimmies San
you can use sqldisegner or workbench or ponyorm online editor and so on to do that
Anonymous
Doing now
cj
Anonymous
Admins have restricted me to share nedia
Anonymous
Media
Anonymous
Sorry can't share the image