Hi everyone,

This might be a noob question, but I've been searching everywhere for 
almost half a year now, I've read through a huge chunk of the docs, I've 
gone through many tutorials, read many stack questions & answers, and I 
still don't feel like I'm any closer to the solution. I did manage to 
figure out a few basics and some more complicated set-up type things in the 
process: I've figure out how to connect Django to an MS SQL Server database 
on a mac (using the sql_server.pyodbc engine, Docker, Kitematic, and with 
the help of Azure Data Studio) and to display items from the database by 
filling in a template using model data. So far so good.

This is a for a diamonds business by the way, and the functionality I'm 
looking for would allow their team to quickly create eBay listing 
description HTML from items in the database. I have the HTML template ready 
to go, and just need to be able to easily send it some data. The admin page 
is showing the inventory, allowing me to add, delete, and edit items in the 
database. My goal is the following:

   - create a button on the admin inventory page that would open the custom 
   URL with a ready-to-go eBay listing (which they can copy-paste into eBay 
   when listing an item).. the url would be something like 
   diamondscompany.com/ebay/item123, where item123 is the item's catalogue 
   number
   - (optional) allow their team to navigate to a listing simply by typing 
   that URL in the address bar -- can the template get filled in with all the 
   appropriate data on the spot?
   - it would be nice to save each page as a separate html file for later 
   reference, however this is not required.

I have a feeling that this is some of the most basic functionality of 
Django, and like one of the main reasons people would use it, however I 
can't seem to find the right combination of keywords to find documentation 
on how to set this up, or perhaps I'm just having trouble piecing together 
everything I've learned so far about views, models, urls, etc.

Any help would be deeply appreciated!

Thanks,

Matvey

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6be2c4fd-7eb0-4ee3-98ab-c6b8838a96d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to