How to add mass item to the Mysql in Django - mysql

I made a django website and i must add thousands of item to mysql but my mind is now stopped.
When you see the picture, rubik, remedi and point fields available.
I have a sentence forexamle: Headache : Pulsatilla(3)
I click the rubik field choose headache, and then click remedi field choose pulsatilla, and then lastly click point field and choose 3 point.
Everything is good.
But, when i have sentence like this;
ABSORBED, buried in thought : Acon., aloe., am-m., ant-c., arn., bell., bov., calc., cann-i., canth., caps., carl., caust., cham., chin., cic., clem., cocc., con., cupr., cycl., elaps., grat., ham., Hell., ign., ip., lil-t., mang., merc., Mez., mosch., mur-ac., nat-c., nat-m., nat-p., nit-ac., Nux-m., ol-an., onos., op., phel., phos., puls., rheum., sabad., sars., spig., stann., stram., Sulph.
I don't know how to add this easily.
I wanna explain this sentence.
ABSORBED, buried in thought = This is rubik
Acon., aloe., am-m., ant-c., arn., bell., = These are remedi (each one). Bold remedi (for. Acon) = 3 point, italic remedi (for. caps) = 2 point and other remedies = 1 point.
When i use django admin panel it will took too many times because one by one add. And how can i add this rubik and remedies and points easily. I need vision.
Thanks for your supports.

Related

What does the "ved" parameter in a google search refer to?

I've spent like two hours or more trying to figure out what a "ved" parameter on a Google search means. A curious person I am.
My finds so far:
$ved value changes-
1 - every different search result (diff keywords)
2 - every different resulted block (the url blocks/boxed on the resulted google search, but they are quite similar, as I'll write down below)
3 - every different geolocation perhaps
Consider these tests or lookups:
1-
Diff keywords, but first block/position in list:
&ved=2ahUKEwidsaSd4M_1AhVlk_0HHUxOCQYQFnoECAsQAg
&ved=2ahUKEwj2pZyN5s_1AhVRmuYKHZ5IB5EQFnoECAcQAg
I thought the "ved" value refers to the block/position of a url in the result list, but no.
2-
Twree different urls, first and second from the 1st and 2nd blocks of first page, then third from a "much farther on the list" block:
ved=2ahUKEwjq1-Wb1s_1AhW6SWwGHZwpBMwQFnoECD8QAQ
ved=2ahUKEwjq1-Wb1s_1AhW6SWwGHZwpBMwQFnoECCAQAQ
ved=2ahUKEwiZ2NDe1s_1AhVaTmwGHThIA5U4PBAWegQIGRAB
The same website url, from different countries (not considering blocks or position in list):
&ved=2ahUKEwiopK2X08_1AhUgxzgGHQEbDkcQFnoECBIQAQ
&ved=2ahUKEwjpueqC1M_1AhWJq3IEHYEDAfc4FBAWegQIDBAB
&ved=2ahUKEwih09Wz08_1AhUY7WEKHQYdBB8QFnoECEIQAQ
Very similar they are.
I'd really love to know what they mean. Any ideas are appreciated too!
I found an interesting article explaining the subject : https://moz.com/blog/inside-googles-ved-parameter
TL;DR:
A ved code contains up to five separate parameters, which each tell you something about the link that was clicked on:
1st (parameter1: Link index) gives you an idea of where the link was on the page.
2nd (parameter2: Link type) is a number that corresponds to the 'type' of the link that was clicked.
3rd (parameter7: Start result position) is the cumulative result position of the first result on the page.
4th (parameter 6: Result position) indicates the position of your page in the search results.
5th (parameter 5: Sub-result position) like the (parameter 6), except it tells you the position in a list of sub-results, such as breadcrumbs, or one-page sitelinks.

How to make series subform in the main form by (infinity)adding button?

This is the idea what I would like to get it. I am using Access-VBA but I am struggling to make series like this. Could you please give me an idea how to proceed it.
Thank you in advance.
EDIT 2
How to hide second form like this?
Edit 3
Ok let me make a clear picture.
Imagine that you have one form which requires to enter family member's data for each family. So different family has different number of members. Some family has 5, some has 4 ...
The default page shows only one form for one person so it's |family 1| = area. This form also requires to fill "name/last name/address/whatever..." = width/lenght/xxx for the first person. And then second one needs to be added with the same form "name/last name/address/whatever..." AGAIN by clicking "+" sign until it covers the whole members.
Then second family members also needs the same.

SSRS - Multiple font or color within a chart item

I'm using Report Builder 3.0. Long story short, I want to make the font bold for the text in the red box that you see in the image below:
Basically, it's just one expression in the legend field of my value, however, for clarity's sake (for my end users) I wish to make the "title part" bold. I found the following solution for textboxes in a tablix using Html by checking off the "HTML – Interpret HTML tags as styles." checkbox within the Textbox's properties. (http://www.sqlchick.com/entries/2010/10/31/using-different-formats-within-a-single-textbox-in-ssrs.html)
However, I can't find anything similar for graphs! I mean if MS thought about it for tables, I presume they must've given it some thought for a chart setting too.
Thanks to all!
p.s. As an aesthetic solution to my problem, I did think of simply creating a new title field, moving it to the exact same location and formating it. But I'm surious whether there'd be some more "proper" way of doing this.
I'm using the same approach for one of my charts.
STEPS.
Select the Chart series to open property pane. In my case, the chart series name is TWR Chart Series
Select the color property and select to build the expression.
I'm posting one of my expression. You can build your own expression base don your field names etc.
=IIF(Fields!ProductID.Value = 1 OR Fields!ProductID.Value = 6,"#00425E",
IIF(Fields!ProductID.Value = 3 ,"#6B8797",
IIF(Fields!ProductID.Value = 5 OR Fields!ProductID.Value = 7,"#799179",
IIF(Fields!ProductID.Value = 4 AND Fields!sort.Value=99,"#6bb1be","#48597B"))))
If used sensibly, you should get your desired results.Good luck.

Code for creating dependent options in Volusion

I working on setting up a new site and Volusion doesn't appear to have any tools available to create dependent options. I will have products on the store that will have multiple option combinations (see example below)
Option 1: Color (Red, Blue,Green)
Based on the selection of option 1, I need the correct option 2 to appear.
Option 2: Personalization
If red is selected---Line 1: 5 characters Line 2: 10 characters
If blue is selected---Line 1: 5 characters
If green is selected-- Line 1: 8 characters Line 2: 20 characters
While I would LOVE for the personaization options to appear and link to the option 1, I would also be okay to just use the "Option Side Note" in Volution which can automatically populate a note of text. Does anyone know an HTML code I can use for the Color option so that the text notes would automatically change to let the customer know the lines and characters to include?
It sounds like you are looking for Volusion SmartMatch functionality, at least in part.
http://support.volusion.com/article/smart-match

SSRS- charts colour coding

I have SSRS solution for SQL 2005 and 2008.
I am showing output in the form of chart- column chart with each column representing different database.
Is there a way to display each column in different color?
Regards
Manjot
You can use a formula to set the colour of each column, but that would work best if you knew what the individual series values ('databases'?) were going to be.
Right-click on your chart and bring up its properties. Now switch to the Data tab and select the first item in the Values list. Click the Edit... button to show the properties for the values (the columns) in your chart. Over on the Appearance tab there's a Series Style... button which takes you to another dialog.
On this new Style Properties dialog, switch to the Fill tab. That's where you set the colour for each of your columns. This can be a formula, so you might make it something like:
=Switch(
Fields!Database.Value = "master", "Blue",
Fields!Database.Value = "msdb", "Red",
"Green")
If you don't know in advance which 'databases' are going to be represented on the chart, this method won't work very well. In that case you might be able to come up with a formula which hashes the database name and comes up with a colour to match. That sounds like an interesting challenge, so add to your question if you need help doing something like that.
Edit
I just got a hash-based-colour-scheme working. It's a pretty nasty piece of code, but it did manage to get me a unique colour for every (string valued) column. Perhaps someone can come up with a better algorithm and post it here. Here's mine:
="#" & left(Hex(Fields!Database.GetHashCode()), 6)
So that's getting the HashCode for the string (a numeric value) and converting it to hex, then taking the leftmost six characters and prepending it with a "#" sign. That gives us a string that looks like a colour value (eg #AB12F0).