If you want to solo like Djang, or any gypsy jazz guitarist, the single best advice is to learn the hell out of arpeggios, especially on the first three strings. Do it for all types of chords, especially minor 7ths and 6ths, and dominant 7ths. The Major chords will usually be Major 6ths.
Then, when you analyze chord progressions in a tune, you need to find connecting notes in between the arpeggios. Also, lots of vertical movement in your lines - up and down a couple of octaves at least.
Out of the loop? I didn't know there was a loop!